#D4C7FF

Closest named color: Light Lavender (#DFC5FE). oklch(85.9% 0.078 295.4), rgb(212, 199, 255).

Aa

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

About this color

#D4C7FF is a light, moderately saturated purple. In OKLCH its lightness is 86%, its chroma 0.078 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Lavender (#DFC5FE), ΔE 0.016 away. Black text reads best on it, at 13.41:1.

Hue familyPurples
Lightnesslight (86%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameLight Lavender (#DFC5FE)
Black text13.41:1
White text1.56:1

Values

HEX#D4C7FF
RGBrgb(212, 199, 255)
HSLhsl(254, 100%, 89%)
OKLCHoklch(85.9% 0.078 295.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 #D4C7FF 1.56:1 Fails Lc -29.2 Dividers and decoration only
Black text on #D4C7FF 13.41:1 AAA Lc 77.9 Fine for body text
#D4C7FF text on white 1.56:1 Fails Lc 25.8 Dividers and decoration only
#D4C7FF text on black 13.41:1 AAA Lc -77.2 Fine for body text

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 200.

  1. Step 50

    50

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200 (this color)

    #D4C7FF

    oklch(85.9% 0.078 295.4)

  4. Step 300

    300

    #C5B4FB

    oklch(80.9% 0.1 295.1)

  5. Step 400

    400

    #A989F9

    oklch(70.7% 0.161 295.1)

  6. Step 500

    500

    #9666F5

    oklch(63% 0.205 295.4)

  7. Step 600

    600

    #8248E4

    oklch(55.6% 0.222 295.2)

  8. Step 700

    700

    #6F37C6

    oklch(49.1% 0.207 295.6)

  9. Step 800

    800

    #5A2FA0

    oklch(42.7% 0.172 295.6)

  10. Step 900

    900

    #492C7F

    oklch(37.6% 0.134 295.3)

  11. Step 950

    950

    #2B1B4A

    oklch(27% 0.084 296)

Export this scale for Tailwind in the Tailwind colors tool

#D4C7FF 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)#BBCFFF0.037
Deuteranopia (no green cones)#BCCEFD0.036
Tritanopia (no blue cones)#CCD0DA0.065
Achromatopsia (no color)#CFCFCF0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4C7FF

    #D4C7FF

    oklch(85.9% 0.078 295.4)

  • #CED79D

    #CED79D

    oklch(85.8% 0.077 115.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4C7FF

    #D4C7FF

    oklch(85.9% 0.078 295.4)

  • #BBD1FF

    #BBD1FF

    oklch(86% 0.069 264.9)

  • #ECC0ED

    #ECC0ED

    oklch(86% 0.077 325.5)

Open the analogous palette in the generator

Split complementary

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

  • #D4C7FF

    #D4C7FF

    oklch(85.9% 0.078 295.4)

  • #E8CD96

    #E8CD96

    oklch(85.8% 0.077 84.7)

  • #B1DFB2

    #B1DFB2

    oklch(85.9% 0.078 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4C7FF

    #D4C7FF

    oklch(85.9% 0.078 295.4)

  • #F9C4A0

    #F9C4A0

    oklch(85.9% 0.077 55.6)

  • #99E2CE

    #99E2CE

    oklch(85.9% 0.078 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4C7FF

    #D4C7FF

    oklch(85.9% 0.078 295.4)

  • #FFBEB7

    #FFBEB7

    oklch(85.9% 0.076 25.7)

  • #CED79D

    #CED79D

    oklch(85.8% 0.077 115.2)

  • #91E0E9

    #91E0E9

    oklch(85.9% 0.078 205)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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