Skip to content

Dark Orchid

Hex #9932CC, rgb(153 50 204). A purple CSS named color.

Open in palette generator

Dark Orchid color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Dark Orchid

Dark Orchid is a medium vivid purple with the hex code #9932CC. In RGB it is made of 153 red, 50 green and 204 blue; in HSL its hue is 280°, with 61% saturation and 50% lightness. Its perceptual lightness (OKLCH L) is 54.1%.

It is a CSS named color, so you can write "darkorchid" anywhere CSS accepts a color. Against white it has a contrast ratio of 5.70:1 and against black 3.68:1, so white text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Dark Orchid mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Dark Orchid 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Dark Orchid

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Triadic

Split complementary

Tetradic

Square

Monochromatic

Contrast and readability

WCAG 2 contrast of Dark Orchid with white and black. The readable text color on Dark Orchid is white.

Dark Orchid textSmall text on white

On white5.70:1

  • AA pass
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc 77

Dark Orchid textSmall text on black

On black3.68:1

  • AA fail
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc -24

White text on Dark Orchid (#FFFFFF)

Test any pair in the contrast checker.

Color blindness preview

How Dark Orchid appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#0062D0
  • Deuteranopia#1468C9
  • Tritanopia#92567E
  • Protanomaly#4259CE
  • Deuteranomaly#4E5FCA
  • Tritanomaly#9844AE
  • Achromatopsia#666666

Colors similar to Dark Orchid

The closest named colors by perceptual difference (OKLab).

Use Dark Orchid in CSS and Tailwind

CSS
.dark-orchid {
  color: darkorchid; /* #9932CC */
  background-color: rgb(153 50 204);
  border-color: oklch(54.1% 0.227 311.5);
}
Tailwind CSS
/* Tailwind CSS v4: bg-dark-orchid-500, text-dark-orchid-700... */
@theme {
  --color-dark-orchid-50: #FCF8FF;
  --color-dark-orchid-100: #F5E7FF;
  --color-dark-orchid-200: #EACEFD;
  --color-dark-orchid-300: #D9A6FB;
  --color-dark-orchid-400: #C16EF1;
  --color-dark-orchid-500: #B047E6;
  --color-dark-orchid-600: #9932CC;
  --color-dark-orchid-700: #7D24A8;
  --color-dark-orchid-800: #632086;
  --color-dark-orchid-900: #501C6C;
  --color-dark-orchid-950: #230234;
}

<!-- or the exact color, no config -->
<div class="bg-[#9932CC] text-[#FFFFFF]">…</div>