#D7B2EF

Closest named color: Light Violet (#D6B4FC). oklch(81.6% 0.093 311.8), rgb(215, 178, 239).

Aa

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

About this color

#D7B2EF 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.50:1.

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

Values

HEX#D7B2EF
RGBrgb(215, 178, 239)
HSLhsl(276, 66%, 82%)
OKLCHoklch(81.6% 0.093 311.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 #D7B2EF 1.82:1 Fails Lc -38.2 Non-text elements, placeholder text
Black text on #D7B2EF 11.50:1 AAA Lc 69.8 Content text, not long reading
#D7B2EF text on white 1.82:1 Fails Lc 34.1 Non-text elements, placeholder text
#D7B2EF text on black 11.50:1 AAA Lc -68.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

    #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)

    #D7B2EF

    oklch(81.6% 0.093 311.8)

  5. Step 400

    400

    #BF83E3

    oklch(70.6% 0.149 311.8)

  6. Step 500

    500

    #AF60DB

    oklch(63.1% 0.19 311.8)

  7. Step 600

    600

    #9A42C8

    oklch(55.6% 0.205 311.7)

  8. Step 700

    700

    #8432AD

    oklch(49.1% 0.191 311.9)

  9. Step 800

    800

    #6B2B8C

    oklch(42.7% 0.159 311.8)

  10. Step 900

    900

    #572970

    oklch(37.8% 0.123 311.8)

  11. Step 950

    950

    #331942

    oklch(27.1% 0.078 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#D7B2EF 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.067
Deuteranopia (no green cones)#B0C1ED0.064
Tritanopia (no blue cones)#D5BAC70.067
Achromatopsia (no color)#C0C0C00.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7B2EF

    #D7B2EF

    oklch(81.6% 0.093 311.8)

  • #ADD091

    #ADD091

    oklch(81.6% 0.093 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7B2EF

    #D7B2EF

    oklch(81.6% 0.093 311.8)

  • #B9BCFE

    #B9BCFE

    oklch(81.6% 0.093 282.1)

  • #EDABD4

    #EDABD4

    oklch(81.5% 0.093 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #D7B2EF

    #D7B2EF

    oklch(81.6% 0.093 311.8)

  • #CFC57E

    #CFC57E

    oklch(81.6% 0.092 101.3)

  • #8AD6B0

    #8AD6B0

    oklch(81.6% 0.093 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7B2EF

    #D7B2EF

    oklch(81.6% 0.093 311.8)

  • #E9B97F

    #E9B97F

    oklch(81.6% 0.093 71.2)

  • #75D6D2

    #75D6D2

    oklch(81.6% 0.092 192)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7B2EF

    #D7B2EF

    oklch(81.6% 0.093 311.8)

  • #F7AF94

    #F7AF94

    oklch(81.6% 0.093 41.4)

  • #ADD091

    #ADD091

    oklch(81.6% 0.093 131.8)

  • #7BD1EE

    #7BD1EE

    oklch(81.7% 0.093 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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