#D4C7EB

Closest named color: Thistle (#D8BFD8). oklch(85.2% 0.051 301.8), rgb(212, 199, 235).

Aa

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

About this color

#D4C7EB is a light, muted purple. In OKLCH its lightness is 85%, its chroma 0.051 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Thistle (#D8BFD8), ΔE 0.028 away. Black text reads best on it, at 13.16:1.

Hue familyPurples
Lightnesslight (85%)
Chromamuted (0.051)
Temperaturein between
Nearest nameThistle (#D8BFD8)
Black text13.16:1
White text1.59:1

Values

HEX#D4C7EB
RGBrgb(212, 199, 235)
HSLhsl(262, 47%, 85%)
OKLCHoklch(85.2% 0.051 301.8)

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 #D4C7EB 1.59:1 Fails Lc -30.4 Non-text elements, placeholder text
Black text on #D4C7EB 13.16:1 AAA Lc 76.9 Fine for body text
#D4C7EB text on white 1.59:1 Fails Lc 26.9 Dividers and decoration only
#D4C7EB text on black 13.16:1 AAA Lc -76.1 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200 (this color)

    #D4C7EB

    oklch(85.2% 0.051 301.8)

  4. Step 300

    300

    #C8B7E5

    oklch(80.9% 0.066 301.8)

  5. Step 400

    400

    #AC91D8

    oklch(70.7% 0.105 301.2)

  6. Step 500

    500

    #9974CD

    oklch(63.2% 0.135 301.9)

  7. Step 600

    600

    #845BBA

    oklch(55.7% 0.146 301.8)

  8. Step 700

    700

    #704AA0

    oklch(49.2% 0.136 302)

  9. Step 800

    800

    #5B3D82

    oklch(42.7% 0.113 301.9)

  10. Step 900

    900

    #4A3568

    oklch(37.7% 0.087 301.3)

  11. Step 950

    950

    #2B1F3D

    oklch(26.9% 0.056 301.2)

Export this scale for Tailwind in the Tailwind colors tool

#D4C7EB 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)#C1CCED0.027
Deuteranopia (no green cones)#C3CDEA0.027
Tritanopia (no blue cones)#D1CCD30.041
Achromatopsia (no color)#CDCDCD0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4C7EB

    #D4C7EB

    oklch(85.2% 0.051 301.8)

  • #C8D4AF

    #C8D4AF

    oklch(85.1% 0.051 122.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4C7EB

    #D4C7EB

    oklch(85.2% 0.051 301.8)

  • #C2CDF1

    #C2CDF1

    oklch(85.2% 0.052 271.9)

  • #E3C3DE

    #E3C3DE

    oklch(85.2% 0.051 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #D4C7EB

    #D4C7EB

    oklch(85.2% 0.051 301.8)

  • #DACEA9

    #DACEA9

    oklch(85.2% 0.051 92.2)

  • #B6D8BE

    #B6D8BE

    oklch(85% 0.051 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4C7EB

    #D4C7EB

    oklch(85.2% 0.051 301.8)

  • #E8C7AD

    #E8C7AD

    oklch(85.1% 0.051 60.3)

  • #AADAD0

    #AADAD0

    oklch(85.2% 0.052 180.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4C7EB

    #D4C7EB

    oklch(85.2% 0.051 301.8)

  • #EEC3BA

    #EEC3BA

    oklch(85.2% 0.051 31.9)

  • #C8D4AF

    #C8D4AF

    oklch(85.1% 0.051 122.1)

  • #A8D8E2

    #A8D8E2

    oklch(85.2% 0.052 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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