#DB9DEF

Closest named color: Lilac (#CEA2FD). oklch(78.3% 0.131 317.7), rgb(219, 157, 239).

Aa

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

About this color

#DB9DEF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.131 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.08:1.

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

Values

HEX#DB9DEF
RGBrgb(219, 157, 239)
HSLhsl(285, 72%, 78%)
OKLCHoklch(78.3% 0.131 317.7)

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 #DB9DEF 2.08:1 Fails Lc -45.2 Large or bold text, headings
Black text on #DB9DEF 10.08:1 AAA Lc 63.4 Content text, not long reading
#DB9DEF text on white 2.08:1 Fails Lc 40.6 Non-text elements, placeholder text
#DB9DEF text on black 10.08:1 AAA Lc -61.7 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

    #EECBF9

    oklch(88.6% 0.072 318)

  4. Step 300

    300 (this color)

    #DB9DEF

    oklch(78.3% 0.131 317.7)

  5. Step 400

    400

    #D46EF4

    oklch(70.7% 0.209 317.5)

  6. Step 500

    500

    #C837EF

    oklch(63.2% 0.267 317.8)

  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

    #650A7C

    oklch(37.8% 0.175 317.6)

  11. Step 950

    950

    #3B0C48

    oklch(26.9% 0.11 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#DB9DEF 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)#92B0F20.108
Deuteranopia (no green cones)#A0B6EC0.101
Tritanopia (no blue cones)#DBA7BB0.087
Achromatopsia (no color)#B4B4B40.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB9DEF

    #DB9DEF

    oklch(78.3% 0.131 317.7)

  • #8ECC78

    #8ECC78

    oklch(78.3% 0.131 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB9DEF

    #DB9DEF

    oklch(78.3% 0.131 317.7)

  • #B4ACFF

    #B4ACFF

    oklch(78.2% 0.117 287.8)

  • #F595C8

    #F595C8

    oklch(78.4% 0.13 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #DB9DEF

    #DB9DEF

    oklch(78.3% 0.131 317.7)

  • #C1BE51

    #C1BE51

    oklch(78.3% 0.131 107.6)

  • #51D3A8

    #51D3A8

    oklch(78.4% 0.131 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB9DEF

    #DB9DEF

    oklch(78.3% 0.131 317.7)

  • #E6AD4C

    #E6AD4C

    oklch(78.3% 0.131 77.9)

  • #16D1D6

    #16D1D6

    oklch(78.2% 0.131 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB9DEF

    #DB9DEF

    oklch(78.3% 0.131 317.7)

  • #FC9D6C

    #FC9D6C

    oklch(78.3% 0.131 47.5)

  • #8ECC78

    #8ECC78

    oklch(78.3% 0.131 137.9)

  • #46C8FA

    #46C8FA

    oklch(78.3% 0.131 228)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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