#D4CAFE

Closest named color: Light Lavender (#DFC5FE). oklch(86.4% 0.072 293.7), rgb(212, 202, 254).

Aa

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

About this color

#D4CAFE is a light, moderately saturated purple. In OKLCH its lightness is 86%, its chroma 0.072 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.019 away. Black text reads best on it, at 13.67:1.

Hue familyPurples
Lightnesslight (86%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameLight Lavender (#DFC5FE)
Black text13.67:1
White text1.53:1

Values

HEX#D4CAFE
RGBrgb(212, 202, 254)
HSLhsl(252, 96%, 89%)
OKLCHoklch(86.4% 0.072 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 #D4CAFE 1.53:1 Fails Lc -28.0 Dividers and decoration only
Black text on #D4CAFE 13.67:1 AAA Lc 79.0 Fine for body text
#D4CAFE text on white 1.53:1 Fails Lc 24.7 Dividers and decoration only
#D4CAFE text on black 13.67:1 AAA Lc -78.4 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200 (this color)

    #D4CAFE

    oklch(86.4% 0.072 293.7)

  4. Step 300

    300

    #C3B6F7

    oklch(81% 0.092 293.4)

  5. Step 400

    400

    #A68CF3

    oklch(70.6% 0.148 293.9)

  6. Step 500

    500

    #926CEF

    oklch(63.2% 0.189 293.6)

  7. Step 600

    600

    #7E4FDD

    oklch(55.6% 0.206 293.9)

  8. Step 700

    700

    #6A3EC0

    oklch(49% 0.192 293.6)

  9. Step 800

    800

    #56359B

    oklch(42.7% 0.158 293.5)

  10. Step 900

    900

    #47307C

    oklch(37.9% 0.124 293.6)

  11. Step 950

    950

    #291D48

    oklch(27% 0.077 293.4)

Export this scale for Tailwind in the Tailwind colors tool

#D4CAFE 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)#BFD1FF0.031
Deuteranopia (no green cones)#C0D0FC0.030
Tritanopia (no blue cones)#CCD2DC0.060
Achromatopsia (no color)#D0D0D00.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4CAFE

    #D4CAFE

    oklch(86.4% 0.072 293.7)

  • #D1D8A2

    #D1D8A2

    oklch(86.3% 0.072 113.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4CAFE

    #D4CAFE

    oklch(86.4% 0.072 293.7)

  • #BCD3FF

    #BCD3FF

    oklch(86.4% 0.066 263.3)

  • #EAC3EE

    #EAC3EE

    oklch(86.4% 0.072 323.2)

Open the analogous palette in the generator

Split complementary

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

  • #D4CAFE

    #D4CAFE

    oklch(86.4% 0.072 293.7)

  • #E9CF9C

    #E9CF9C

    oklch(86.4% 0.072 83.9)

  • #B7DFB5

    #B7DFB5

    oklch(86.4% 0.071 143.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4CAFE

    #D4CAFE

    oklch(86.4% 0.072 293.7)

  • #F9C6A6

    #F9C6A6

    oklch(86.4% 0.072 53.6)

  • #A1E2CE

    #A1E2CE

    oklch(86.3% 0.071 173.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4CAFE

    #D4CAFE

    oklch(86.4% 0.072 293.7)

  • #FFC1BC

    #FFC1BC

    oklch(86.6% 0.072 23.9)

  • #D1D8A2

    #D1D8A2

    oklch(86.3% 0.072 113.9)

  • #99E1E8

    #99E1E8

    oklch(86.5% 0.072 203.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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