#D4B7EA

Closest named color: Light Violet (#D6B4FC). oklch(82.1% 0.077 310.4), rgb(212, 183, 234).

Aa

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

About this color

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

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

Values

HEX#D4B7EA
RGBrgb(212, 183, 234)
HSLhsl(274, 55%, 82%)
OKLCHoklch(82.1% 0.077 310.4)

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 #D4B7EA 1.78:1 Fails Lc -37.0 Non-text elements, placeholder text
Black text on #D4B7EA 11.76:1 AAA Lc 70.9 Content text, not long reading
#D4B7EA text on white 1.78:1 Fails Lc 33.0 Non-text elements, placeholder text
#D4B7EA text on black 11.76:1 AAA Lc -69.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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E2D2EF

    oklch(88.6% 0.043 310.1)

  4. Step 300

    300 (this color)

    #D4B7EA

    oklch(82.1% 0.077 310.4)

  5. Step 400

    400

    #B88AD9

    oklch(70.6% 0.122 310.2)

  6. Step 500

    500

    #A76ACF

    oklch(63.1% 0.158 310.5)

  7. Step 600

    600

    #924FBC

    oklch(55.5% 0.171 310.4)

  8. Step 700

    700

    #7C3FA2

    oklch(49% 0.159 310.2)

  9. Step 800

    800

    #653583

    oklch(42.7% 0.131 310.4)

  10. Step 900

    900

    #522F69

    oklch(37.6% 0.102 310.2)

  11. Step 950

    950

    #301C3E

    oklch(27% 0.066 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#D4B7EA 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)#AFC0EC0.053
Deuteranopia (no green cones)#B5C2E80.050
Tritanopia (no blue cones)#D2BDC80.056
Achromatopsia (no color)#C2C2C20.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4B7EA

    #D4B7EA

    oklch(82.1% 0.077 310.4)

  • #B4CF9B

    #B4CF9B

    oklch(82.1% 0.076 130.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4B7EA

    #D4B7EA

    oklch(82.1% 0.077 310.4)

  • #BABFF6

    #BABFF6

    oklch(82% 0.077 280.5)

  • #E7B1D4

    #E7B1D4

    oklch(82% 0.077 339.9)

Open the analogous palette in the generator

Split complementary

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

  • #D4B7EA

    #D4B7EA

    oklch(82.1% 0.077 310.4)

  • #CFC68C

    #CFC68C

    oklch(82% 0.077 100.4)

  • #98D4B4

    #98D4B4

    oklch(82% 0.076 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4B7EA

    #D4B7EA

    oklch(82.1% 0.077 310.4)

  • #E5BC8E

    #E5BC8E

    oklch(82% 0.077 69.7)

  • #88D5D0

    #88D5D0

    oklch(82.2% 0.077 190.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4B7EA

    #D4B7EA

    oklch(82.1% 0.077 310.4)

  • #F1B49F

    #F1B49F

    oklch(82.1% 0.077 39.8)

  • #B4CF9B

    #B4CF9B

    oklch(82.1% 0.076 130.3)

  • #8BD1E7

    #8BD1E7

    oklch(82.2% 0.077 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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