#DC9AF2

Closest named color: Lilac (#CEA2FD). oklch(78.1% 0.14 317.4), rgb(220, 154, 242).

Aa

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

About this color

#DC9AF2 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.140 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.029 away. Black text reads best on it, at 9.94:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.94:1
White text2.11:1

Values

HEX#DC9AF2
RGBrgb(220, 154, 242)
HSLhsl(285, 77%, 78%)
OKLCHoklch(78.1% 0.14 317.4)

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 #DC9AF2 2.11:1 Fails Lc -45.8 Large or bold text, headings
Black text on #DC9AF2 9.94:1 AAA Lc 62.7 Content text, not long reading
#DC9AF2 text on white 2.11:1 Fails Lc 41.2 Non-text elements, placeholder text
#DC9AF2 text on black 9.94:1 AAA Lc -61.1 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

    #EFCAFB

    oklch(88.6% 0.077 317.8)

  4. Step 300

    300 (this color)

    #DC9AF2

    oklch(78.1% 0.14 317.4)

  5. Step 400

    400

    #D769FA

    oklch(70.8% 0.224 317.3)

  6. Step 500

    500

    #CB27F6

    oklch(63.1% 0.286 317.5)

  7. Step 600

    600

    #AF00D7

    oklch(55.7% 0.271 317.4)

  8. Step 700

    700

    #9400B6

    oklch(49.2% 0.239 317.5)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007F

    oklch(37.7% 0.184 317.2)

  11. Step 950

    950

    #3C084B

    oklch(27% 0.118 317)

Export this scale for Tailwind in the Tailwind colors tool

#DC9AF2 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)#8DAEF50.117
Deuteranopia (no green cones)#9DB5EF0.108
Tritanopia (no blue cones)#DCA5BB0.092
Achromatopsia (no color)#B2B2B20.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC9AF2

    #DC9AF2

    oklch(78.1% 0.14 317.4)

  • #8BCC71

    #8BCC71

    oklch(78% 0.139 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC9AF2

    #DC9AF2

    oklch(78.1% 0.14 317.4)

  • #B3ACFF

    #B3ACFF

    oklch(78.2% 0.117 287.2)

  • #F891C8

    #F891C8

    oklch(78.1% 0.14 347.6)

Open the analogous palette in the generator

Split complementary

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

  • #DC9AF2

    #DC9AF2

    oklch(78.1% 0.14 317.4)

  • #C1BD45

    #C1BD45

    oklch(77.9% 0.14 107.4)

  • #42D4A5

    #42D4A5

    oklch(78.1% 0.141 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC9AF2

    #DC9AF2

    oklch(78.1% 0.14 317.4)

  • #E9AB3F

    #E9AB3F

    oklch(78.1% 0.14 77.5)

  • #00D1D5

    #00D1D5

    oklch(78.1% 0.133 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC9AF2

    #DC9AF2

    oklch(78.1% 0.14 317.4)

  • #FF9A66

    #FF9A66

    oklch(78.1% 0.139 47.2)

  • #8BCC71

    #8BCC71

    oklch(78% 0.139 137.3)

  • #33C8FD

    #33C8FD

    oklch(78% 0.14 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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