#D2C7FE

Closest named color: Light Lavender (#DFC5FE). oklch(85.7% 0.076 293.9), rgb(210, 199, 254).

Aa

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

About this color

#D2C7FE is a light, moderately saturated purple. In OKLCH its lightness is 86%, its chroma 0.076 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.34:1.

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

Values

HEX#D2C7FE
RGBrgb(210, 199, 254)
HSLhsl(252, 96%, 89%)
OKLCHoklch(85.7% 0.076 293.9)

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 #D2C7FE 1.57:1 Fails Lc -29.6 Dividers and decoration only
Black text on #D2C7FE 13.34:1 AAA Lc 77.6 Fine for body text
#D2C7FE text on white 1.57:1 Fails Lc 26.1 Dividers and decoration only
#D2C7FE text on black 13.34: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)

    #D2C7FE

    oklch(85.7% 0.076 293.9)

  4. Step 300

    300

    #C4B5FA

    oklch(81% 0.097 294.1)

  5. Step 400

    400

    #A78BF8

    oklch(70.8% 0.157 293.8)

  6. Step 500

    500

    #9369F5

    oklch(63.2% 0.201 293.7)

  7. Step 600

    600

    #7F4BE3

    oklch(55.6% 0.218 293.8)

  8. Step 700

    700

    #6C3AC5

    oklch(49.1% 0.203 294.1)

  9. Step 800

    800

    #5731A0

    oklch(42.6% 0.169 293.6)

  10. Step 900

    900

    #472E7F

    oklch(37.8% 0.131 293.4)

  11. Step 950

    950

    #2A1C4A

    oklch(27.1% 0.082 294.3)

Export this scale for Tailwind in the Tailwind colors tool

#D2C7FE 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.034
Deuteranopia (no green cones)#BCCDFC0.032
Tritanopia (no blue cones)#CAD0DA0.064
Achromatopsia (no color)#CECECE0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2C7FE

    #D2C7FE

    oklch(85.7% 0.076 293.9)

  • #CFD69C

    #CFD69C

    oklch(85.7% 0.077 113.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2C7FE

    #D2C7FE

    oklch(85.7% 0.076 293.9)

  • #B9D0FF

    #B9D0FF

    oklch(85.6% 0.07 264.5)

  • #EAC0ED

    #EAC0ED

    oklch(85.8% 0.076 324.1)

Open the analogous palette in the generator

Split complementary

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

  • #D2C7FE

    #D2C7FE

    oklch(85.7% 0.076 293.9)

  • #E8CC96

    #E8CC96

    oklch(85.6% 0.077 83.5)

  • #B2DEB1

    #B2DEB1

    oklch(85.8% 0.077 144.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2C7FE

    #D2C7FE

    oklch(85.7% 0.076 293.9)

  • #F9C3A1

    #F9C3A1

    oklch(85.7% 0.077 53.6)

  • #9BE1CC

    #9BE1CC

    oklch(85.7% 0.076 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2C7FE

    #D2C7FE

    oklch(85.7% 0.076 293.9)

  • #FEBDB8

    #FEBDB8

    oklch(85.6% 0.076 23.8)

  • #CFD69C

    #CFD69C

    oklch(85.7% 0.077 113.6)

  • #92DFE7

    #92DFE7

    oklch(85.6% 0.077 204.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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