#DB9CEF

Closest named color: Lilac (#CEA2FD). oklch(78.2% 0.133 317.8), rgb(219, 156, 239).

Aa

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

About this color

#DB9CEF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.133 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.028 away. Black text reads best on it, at 10.01:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.01:1
White text2.09:1

Values

HEX#DB9CEF
RGBrgb(219, 156, 239)
HSLhsl(286, 72%, 77%)
OKLCHoklch(78.2% 0.133 317.8)

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 #DB9CEF 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #DB9CEF 10.01:1 AAA Lc 63.0 Content text, not long reading
#DB9CEF text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#DB9CEF text on black 10.01:1 AAA Lc -61.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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E2FB

    oklch(93.5% 0.039 318.1)

  3. Step 200

    200

    #EECAF9

    oklch(88.4% 0.074 318.2)

  4. Step 300

    300 (this color)

    #DB9CEF

    oklch(78.2% 0.133 317.8)

  5. Step 400

    400

    #D56DF5

    oklch(70.8% 0.212 317.6)

  6. Step 500

    500

    #C834F0

    oklch(63% 0.271 317.7)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #65077C

    oklch(37.6% 0.177 317.7)

  11. Step 950

    950

    #3C0B49

    oklch(27.1% 0.113 318)

Export this scale for Tailwind in the Tailwind colors tool

#DB9CEF 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)#90AFF20.111
Deuteranopia (no green cones)#A0B5EC0.101
Tritanopia (no blue cones)#DBA6BB0.087
Achromatopsia (no color)#B3B3B30.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB9CEF

    #DB9CEF

    oklch(78.2% 0.133 317.8)

  • #8DCC76

    #8DCC76

    oklch(78.2% 0.133 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB9CEF

    #DB9CEF

    oklch(78.2% 0.133 317.8)

  • #B4ACFF

    #B4ACFF

    oklch(78.2% 0.117 287.8)

  • #F694C7

    #F694C7

    oklch(78.3% 0.132 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #DB9CEF

    #DB9CEF

    oklch(78.2% 0.133 317.8)

  • #C1BE4F

    #C1BE4F

    oklch(78.2% 0.133 107.7)

  • #4DD3A7

    #4DD3A7

    oklch(78.2% 0.133 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB9CEF

    #DB9CEF

    oklch(78.2% 0.133 317.8)

  • #E6AC49

    #E6AC49

    oklch(78.1% 0.132 77.8)

  • #04D1D6

    #04D1D6

    oklch(78.1% 0.133 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB9CEF

    #DB9CEF

    oklch(78.2% 0.133 317.8)

  • #FC9C6A

    #FC9C6A

    oklch(78.1% 0.132 47.6)

  • #8DCC76

    #8DCC76

    oklch(78.2% 0.133 137.7)

  • #43C8FA

    #43C8FA

    oklch(78.2% 0.132 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 #DB9CEF, closest first.

Similar named colors

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

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