#D1B7EF

Closest named color: Light Violet (#D6B4FC). oklch(82% 0.082 305.8), rgb(209, 183, 239).

Aa

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

About this color

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

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

Values

HEX#D1B7EF
RGBrgb(209, 183, 239)
HSLhsl(268, 64%, 83%)
OKLCHoklch(82% 0.082 305.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 #D1B7EF 1.79:1 Fails Lc -37.1 Non-text elements, placeholder text
Black text on #D1B7EF 11.73:1 AAA Lc 70.8 Content text, not long reading
#D1B7EF text on white 1.79:1 Fails Lc 33.1 Non-text elements, placeholder text
#D1B7EF text on black 11.73:1 AAA Lc -69.5 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E0D2F2

    oklch(88.5% 0.046 305.2)

  4. Step 300

    300 (this color)

    #D1B7EF

    oklch(82% 0.082 305.8)

  5. Step 400

    400

    #B58AE1

    oklch(70.7% 0.131 306.1)

  6. Step 500

    500

    #A36AD9

    oklch(63.2% 0.168 305.9)

  7. Step 600

    600

    #8E4EC6

    oklch(55.6% 0.183 305.9)

  8. Step 700

    700

    #793EAB

    oklch(49.1% 0.17 306)

  9. Step 800

    800

    #62348B

    oklch(42.7% 0.141 305.6)

  10. Step 900

    900

    #502F6F

    oklch(37.8% 0.109 305.6)

  11. Step 950

    950

    #2F1C41

    oklch(27% 0.07 306)

Export this scale for Tailwind in the Tailwind colors tool

#D1B7EF 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)#ADC1F10.052
Deuteranopia (no green cones)#B2C2ED0.049
Tritanopia (no blue cones)#CDBFCA0.063
Achromatopsia (no color)#C2C2C20.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1B7EF

    #D1B7EF

    oklch(82% 0.082 305.8)

  • #B7CE94

    #B7CE94

    oklch(82% 0.082 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1B7EF

    #D1B7EF

    oklch(82% 0.082 305.8)

  • #B5C0FA

    #B5C0FA

    oklch(82% 0.083 276.1)

  • #E7B0D9

    #E7B0D9

    oklch(82% 0.083 335.7)

Open the analogous palette in the generator

Split complementary

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

  • #D1B7EF

    #D1B7EF

    oklch(82% 0.082 305.8)

  • #D4C487

    #D4C487

    oklch(81.9% 0.081 95.2)

  • #99D5AE

    #99D5AE

    oklch(82.1% 0.082 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1B7EF

    #D1B7EF

    oklch(82% 0.082 305.8)

  • #E9BA8B

    #E9BA8B

    oklch(82% 0.082 66.3)

  • #84D6CC

    #84D6CC

    oklch(82.1% 0.082 185.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1B7EF

    #D1B7EF

    oklch(82% 0.082 305.8)

  • #F4B2A0

    #F4B2A0

    oklch(82.1% 0.082 35.8)

  • #B7CE94

    #B7CE94

    oklch(82% 0.082 125.7)

  • #84D2E6

    #84D2E6

    oklch(82% 0.082 215.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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