#D8B2EF

Closest named color: Light Violet (#D6B4FC). oklch(81.7% 0.093 312.5), rgb(216, 178, 239).

Aa

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

About this color

#D8B2EF is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.093 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.018 away. Black text reads best on it, at 11.53:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.53:1
White text1.82:1

Values

HEX#D8B2EF
RGBrgb(216, 178, 239)
HSLhsl(277, 66%, 82%)
OKLCHoklch(81.7% 0.093 312.5)

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 #D8B2EF 1.82:1 Fails Lc -38.1 Non-text elements, placeholder text
Black text on #D8B2EF 11.53:1 AAA Lc 69.9 Content text, not long reading
#D8B2EF text on white 1.82:1 Fails Lc 34.0 Non-text elements, placeholder text
#D8B2EF text on black 11.53:1 AAA Lc -68.6 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E5D0F2

    oklch(88.5% 0.051 312.6)

  4. Step 300

    300 (this color)

    #D8B2EF

    oklch(81.7% 0.093 312.5)

  5. Step 400

    400

    #C083E3

    oklch(70.7% 0.149 312.3)

  6. Step 500

    500

    #B05FDA

    oklch(63.1% 0.191 312.6)

  7. Step 600

    600

    #9B41C8

    oklch(55.6% 0.207 312.2)

  8. Step 700

    700

    #8531AD

    oklch(49.2% 0.193 312.5)

  9. Step 800

    800

    #6C2A8C

    oklch(42.7% 0.16 312.5)

  10. Step 900

    900

    #582870

    oklch(37.8% 0.125 312.7)

  11. Step 950

    950

    #331941

    oklch(27% 0.077 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#D8B2EF 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)#A9BEF20.068
Deuteranopia (no green cones)#B1C1ED0.064
Tritanopia (no blue cones)#D6B9C70.066
Achromatopsia (no color)#C0C0C00.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8B2EF

    #D8B2EF

    oklch(81.7% 0.093 312.5)

  • #ACD192

    #ACD192

    oklch(81.8% 0.094 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8B2EF

    #D8B2EF

    oklch(81.7% 0.093 312.5)

  • #BABCFE

    #BABCFE

    oklch(81.7% 0.093 282.8)

  • #EEABD4

    #EEABD4

    oklch(81.6% 0.094 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #D8B2EF

    #D8B2EF

    oklch(81.7% 0.093 312.5)

  • #CEC67E

    #CEC67E

    oklch(81.7% 0.093 102.8)

  • #8AD6B1

    #8AD6B1

    oklch(81.6% 0.092 162.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8B2EF

    #D8B2EF

    oklch(81.7% 0.093 312.5)

  • #E9BA7F

    #E9BA7F

    oklch(81.8% 0.093 72.3)

  • #74D7D3

    #74D7D3

    oklch(81.8% 0.094 192)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8B2EF

    #D8B2EF

    oklch(81.7% 0.093 312.5)

  • #F7B093

    #F7B093

    oklch(81.7% 0.093 43.1)

  • #ACD192

    #ACD192

    oklch(81.8% 0.094 132.9)

  • #7BD1EF

    #7BD1EF

    oklch(81.7% 0.093 222.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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