#DC9EFE

Closest named color: Lilac (#CEA2FD). oklch(79.3% 0.147 313), rgb(220, 158, 254).

Aa

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

About this color

#DC9EFE is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.147 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.023 away. Black text reads best on it, at 10.36:1.

Hue familyPurples
Lightnesslight (79%)
Chromavivid (0.147)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.36:1
White text2.02:1

Values

HEX#DC9EFE
RGBrgb(220, 158, 254)
HSLhsl(279, 98%, 81%)
OKLCHoklch(79.3% 0.147 313)

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 #DC9EFE 2.02:1 Fails Lc -43.7 Non-text elements, placeholder text
Black text on #DC9EFE 10.36:1 AAA Lc 64.7 Content text, not long reading
#DC9EFE text on white 2.02:1 Fails Lc 39.2 Non-text elements, placeholder text
#DC9EFE text on black 10.36:1 AAA Lc -63.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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F4E2FF

    oklch(93.6% 0.043 312.8)

  3. Step 200

    200

    #ECCAFF

    oklch(88.5% 0.08 313.4)

  4. Step 300

    300 (this color)

    #DC9EFE

    oklch(79.3% 0.147 313)

  5. Step 400

    400

    #CF6EFF

    oklch(70.7% 0.218 313.1)

  6. Step 500

    500

    #C330FF

    oklch(63.1% 0.284 313.1)

  7. Step 600

    600

    #A900E2

    oklch(55.6% 0.277 313)

  8. Step 700

    700

    #8F00BF

    oklch(49.1% 0.244 313.2)

  9. Step 800

    800

    #75009E

    oklch(42.6% 0.212 312.9)

  10. Step 900

    900

    #630086

    oklch(37.8% 0.188 313)

  11. Step 950

    950

    #3A0650

    oklch(26.9% 0.124 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#DC9EFE 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)#8DB3FF0.116
Deuteranopia (no green cones)#9CB8FB0.106
Tritanopia (no blue cones)#D9ABC20.102
Achromatopsia (no color)#B6B6B60.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC9EFE

    #DC9EFE

    oklch(79.3% 0.147 313)

  • #96CF69

    #96CF69

    oklch(79.2% 0.146 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC9EFE

    #DC9EFE

    oklch(79.3% 0.147 313)

  • #B1B2FF

    #B1B2FF

    oklch(79.1% 0.109 283.1)

  • #FB93D4

    #FB93D4

    oklch(79.2% 0.147 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #DC9EFE

    #DC9EFE

    oklch(79.3% 0.147 313)

  • #CDBF3C

    #CDBF3C

    oklch(79.3% 0.147 103.1)

  • #4AD8A0

    #4AD8A0

    oklch(79.2% 0.146 163.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC9EFE

    #DC9EFE

    oklch(79.3% 0.147 313)

  • #F4AB3E

    #F4AB3E

    oklch(79.3% 0.147 73)

  • #00D6D3

    #00D6D3

    oklch(79.2% 0.136 193)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC9EFE

    #DC9EFE

    oklch(79.3% 0.147 313)

  • #FF9F78

    #FF9F78

    oklch(79.2% 0.127 42.7)

  • #96CF69

    #96CF69

    oklch(79.2% 0.146 132.9)

  • #10CFFF

    #10CFFF

    oklch(79.3% 0.146 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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