#DC9DF2

Closest named color: Lilac (#CEA2FD). oklch(78.6% 0.135 317.1), rgb(220, 157, 242).

Aa

Black text reads best on this color (10.14:1).

About this color

#DC9DF2 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.135 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.027 away. Black text reads best on it, at 10.14:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.14:1
White text2.06:1

Values

HEX#DC9DF2
RGBrgb(220, 157, 242)
HSLhsl(284, 77%, 78%)
OKLCHoklch(78.6% 0.135 317.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #DC9DF2 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #DC9DF2 10.14:1 AAA Lc 63.7 Content text, not long reading
#DC9DF2 text on white 2.06:1 Fails Lc 40.3 Non-text elements, placeholder text
#DC9DF2 text on black 10.14:1 AAA Lc -62.0 Content text, not long reading

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F5E2FC

    oklch(93.6% 0.04 317)

  3. Step 200

    200

    #EECAFA

    oklch(88.5% 0.075 317.6)

  4. Step 300

    300 (this color)

    #DC9DF2

    oklch(78.6% 0.135 317.1)

  5. Step 400

    400

    #D56CF7

    oklch(70.7% 0.216 317.2)

  6. Step 500

    500

    #C832F3

    oklch(63.1% 0.275 317.1)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900

    #65057E

    oklch(37.7% 0.179 317)

  11. Step 950

    950

    #3B0A4A

    oklch(26.9% 0.114 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#DC9DF2 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#91B0F50.111
Deuteranopia (no green cones)#A0B6EF0.102
Tritanopia (no blue cones)#DCA7BD0.088
Achromatopsia (no color)#B4B4B40.136

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #DC9DF2

    #DC9DF2

    oklch(78.6% 0.135 317.1)

  • #8FCD75

    #8FCD75

    oklch(78.5% 0.135 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC9DF2

    #DC9DF2

    oklch(78.6% 0.135 317.1)

  • #B4AEFF

    #B4AEFF

    oklch(78.6% 0.114 286.8)

  • #F794CA

    #F794CA

    oklch(78.5% 0.135 346.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #DC9DF2

    #DC9DF2

    oklch(78.6% 0.135 317.1)

  • #C3BF4D

    #C3BF4D

    oklch(78.6% 0.135 107.2)

  • #4ED4A7

    #4ED4A7

    oklch(78.5% 0.134 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC9DF2

    #DC9DF2

    oklch(78.6% 0.135 317.1)

  • #E9AD48

    #E9AD48

    oklch(78.6% 0.135 77.3)

  • #00D3D7

    #00D3D7

    oklch(78.6% 0.134 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC9DF2

    #DC9DF2

    oklch(78.6% 0.135 317.1)

  • #FF9D6B

    #FF9D6B

    oklch(78.6% 0.134 47.2)

  • #8FCD75

    #8FCD75

    oklch(78.5% 0.135 137)

  • #3FCAFC

    #3FCAFC

    oklch(78.7% 0.135 227)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #DC9DF2, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #DC9DF2 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.