#DC9EF2

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.133 317), rgb(220, 158, 242).

Aa

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

About this color

#DC9EF2 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.133 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.026 away. Black text reads best on it, at 10.21:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.21:1
White text2.05:1

Values

HEX#DC9EF2
RGBrgb(220, 158, 242)
HSLhsl(284, 76%, 78%)
OKLCHoklch(78.7% 0.133 317)

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 #DC9EF2 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #DC9EF2 10.21:1 AAA Lc 64.0 Content text, not long reading
#DC9EF2 text on white 2.05:1 Fails Lc 39.9 Non-text elements, placeholder text
#DC9EF2 text on black 10.21:1 AAA Lc -62.4 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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F5E2FB

    oklch(93.5% 0.039 318.1)

  3. Step 200

    200

    #EDCBFA

    oklch(88.5% 0.073 316.6)

  4. Step 300

    300 (this color)

    #DC9EF2

    oklch(78.7% 0.133 317)

  5. Step 400

    400

    #D46DF6

    oklch(70.7% 0.213 317)

  6. Step 500

    500

    #C734F2

    oklch(63% 0.272 316.9)

  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

    #65087D

    oklch(37.8% 0.177 317.3)

  11. Step 950

    950

    #3B0B49

    oklch(26.9% 0.112 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#DC9EF2 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)#92B1F50.109
Deuteranopia (no green cones)#A1B7EF0.101
Tritanopia (no blue cones)#DCA8BD0.088
Achromatopsia (no color)#B5B5B50.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC9EF2

    #DC9EF2

    oklch(78.7% 0.133 317)

  • #90CD77

    #90CD77

    oklch(78.6% 0.132 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC9EF2

    #DC9EF2

    oklch(78.7% 0.133 317)

  • #B5AEFF

    #B5AEFF

    oklch(78.7% 0.114 287.4)

  • #F795CA

    #F795CA

    oklch(78.7% 0.133 347)

Open the analogous palette in the generator

Split complementary

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

  • #DC9EF2

    #DC9EF2

    oklch(78.7% 0.133 317)

  • #C4BF50

    #C4BF50

    oklch(78.7% 0.133 106.7)

  • #51D5A8

    #51D5A8

    oklch(78.8% 0.133 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC9EF2

    #DC9EF2

    oklch(78.7% 0.133 317)

  • #E9AE4B

    #E9AE4B

    oklch(78.8% 0.133 77.4)

  • #0CD3D7

    #0CD3D7

    oklch(78.7% 0.133 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC9EF2

    #DC9EF2

    oklch(78.7% 0.133 317)

  • #FF9E6C

    #FF9E6C

    oklch(78.8% 0.133 47.4)

  • #90CD77

    #90CD77

    oklch(78.6% 0.132 137.1)

  • #43CAFB

    #43CAFB

    oklch(78.7% 0.133 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #DC9EF2 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.