#D2C7FF

Closest named color: Light Lavender (#DFC5FE). oklch(85.7% 0.078 293.7), rgb(210, 199, 255).

Aa

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

About this color

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

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

Values

HEX#D2C7FF
RGBrgb(210, 199, 255)
HSLhsl(252, 100%, 89%)
OKLCHoklch(85.7% 0.078 293.7)

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 #D2C7FF 1.57:1 Fails Lc -29.5 Dividers and decoration only
Black text on #D2C7FF 13.35:1 AAA Lc 77.7 Fine for body text
#D2C7FF text on white 1.57:1 Fails Lc 26.1 Dividers and decoration only
#D2C7FF text on black 13.35:1 AAA Lc -76.9 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

    #EAE7FC

    oklch(93.7% 0.028 292.4)

  3. Step 200

    200 (this color)

    #D2C7FF

    oklch(85.7% 0.078 293.7)

  4. Step 300

    300

    #C3B4FB

    oklch(80.8% 0.1 293.7)

  5. Step 400

    400

    #A78AFA

    oklch(70.7% 0.161 293.8)

  6. Step 500

    500

    #9368F7

    oklch(63.2% 0.205 293.5)

  7. Step 600

    600

    #7F49E5

    oklch(55.5% 0.222 293.8)

  8. Step 700

    700

    #6C39C7

    oklch(49.1% 0.206 293.8)

  9. Step 800

    800

    #5731A1

    oklch(42.7% 0.17 293.4)

  10. Step 900

    900

    #472D80

    oklch(37.7% 0.133 293.4)

  11. Step 950

    950

    #2A1B4B

    oklch(27% 0.085 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#D2C7FF 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.035
Deuteranopia (no green cones)#BCCDFD0.032
Tritanopia (no blue cones)#C9D0DA0.066
Achromatopsia (no color)#CECECE0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2C7FF

    #D2C7FF

    oklch(85.7% 0.078 293.7)

  • #CFD69B

    #CFD69B

    oklch(85.6% 0.078 113.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2C7FF

    #D2C7FF

    oklch(85.7% 0.078 293.7)

  • #B9D1FF

    #B9D1FF

    oklch(85.8% 0.069 263.3)

  • #EABFEE

    #EABFEE

    oklch(85.7% 0.079 323.5)

Open the analogous palette in the generator

Split complementary

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

  • #D2C7FF

    #D2C7FF

    oklch(85.7% 0.078 293.7)

  • #E9CC95

    #E9CC95

    oklch(85.7% 0.078 83.1)

  • #B2DEB0

    #B2DEB0

    oklch(85.7% 0.078 143.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2C7FF

    #D2C7FF

    oklch(85.7% 0.078 293.7)

  • #F9C3A0

    #F9C3A0

    oklch(85.7% 0.078 54.4)

  • #9AE1CC

    #9AE1CC

    oklch(85.7% 0.077 173.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2C7FF

    #D2C7FF

    oklch(85.7% 0.078 293.7)

  • #FFBDB8

    #FFBDB8

    oklch(85.7% 0.077 23.7)

  • #CFD69B

    #CFD69B

    oklch(85.6% 0.078 113.6)

  • #91E0E7

    #91E0E7

    oklch(85.8% 0.078 202.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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