Free Accessible CSS Gradient Generator

← All Colors
#9932CC Dark Orchid

Dark Orchid Hex Code #9932CC

Dark Orchid is a medium, strong purple with the hex code #9932CC. In RGB it is 153, 50, 204, and in HSL it is 280°, 61%, 50%. It is one of the 148 named colors in CSS, so you can write “darkorchid” instead of the hex code.

HEX
#9932CC
RGB
rgb(153, 50, 204)
HSL
hsl(280, 61%, 50%)
HSV
hsv(280°, 75%, 80%)
CMYK
cmyk(25%, 75%, 0%, 20%)
CSS name
darkorchid

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Dark Orchid

On a white background Dark Orchid has a contrast ratio of 5.70:1 (AA), and on black 3.68:1 (AA Large). White text is the better choice on top of it.

It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.

Purple combines the calm of blue with the energy of red. It reads as creative and premium, and is often used by design, media and beauty brands.

Shades and tints of Dark Orchid

Tints mix Dark Orchid with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Dark Orchid

These schemes are calculated from Dark Orchid on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Dark Orchid is #C3CC32, close to the named color Yellow Green.

Dark Orchid contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Dark Orchid scores against white and black.

Contrast of Dark Orchid with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 5.70:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Black (#000000) 3.68:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Aa White text on Dark Orchid5.70:1
Aa Black text on Dark Orchid3.68:1

Dark Orchid and color blindness

These are approximate previews of how Dark Orchid can look with the main types of color vision deficiency.

Protanopia #0062D0

Dark Orchid changes noticeably.

Deuteranopia #1468C9

Dark Orchid changes noticeably.

Tritanopia #92567E

Dark Orchid changes noticeably.

Achromatopsia #666666

Dark Orchid changes noticeably.

Gradients with Dark Orchid

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Dark Orchid to a lighter tint

background: linear-gradient(135deg, #9932cc 0%, #d6adeb 100%);

Dark Orchid to its analogous neighbour

background: linear-gradient(135deg, #9932cc 0%, #cc32b2 100%);

Dark Orchid to its complement

background: linear-gradient(135deg, #9932cc 0%, #65cc32 100%);

Colors similar to Dark Orchid

How each close match differs from Dark Orchid.

More purple colors →

Use Dark Orchid in code

CSS
.element {
  color: #9932cc;
  background-color: #9932cc;
  border-color: darkorchid;   /* darkorchid is a valid CSS color name */
}
CSS variable
:root {
  --color-dark-orchid: #9932cc;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#9932cc] text-[#9932cc] border-[#9932cc]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-dark-orchid: #9932cc;
}

Dark Orchid questions

What is the hex code for Dark Orchid?

The hex code for Dark Orchid is #9932CC. In RGB that is rgb(153, 50, 204), and in HSL it is hsl(280, 61%, 50%).

What is the complementary color of Dark Orchid?

On the RGB (screen) color wheel, the complement of Dark Orchid is #65CC32, which is close to Lime Green. On the artist’s RYB wheel it is #C3CC32, close to Yellow Green.

Should I use white or black text on Dark Orchid?

White text. It has a contrast ratio of 5.70:1 against Dark Orchid, which is WCAG AA. The other option scores 3.68:1.

Is Dark Orchid accessible as a text color on white?

Yes. Dark Orchid on white scores 5.70:1, which passes WCAG AA for normal text (4.5:1).

What are darker and lighter shades of Dark Orchid?

Mixing Dark Orchid with black gives #7A28A3, #5C1E7A, #3D1452, #1F0A29 (20% to 80% black). Mixing it with white gives #AD5BD6, #C284E0, #D6ADEB, #EBD6F5 (20% to 80% white).

More color tools