#D8A8EC

Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.107 315.8), rgb(216, 168, 236).

Aa

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

About this color

#D8A8EC is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.107 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.025 away. Black text reads best on it, at 10.73:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.73:1
White text1.95:1

Values

HEX#D8A8EC
RGBrgb(216, 168, 236)
HSLhsl(282, 64%, 79%)
OKLCHoklch(79.8% 0.107 315.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 #D8A8EC 1.95:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #D8A8EC 10.73:1 AAA Lc 66.3 Content text, not long reading
#D8A8EC text on white 1.95:1 Fails Lc 37.6 Non-text elements, placeholder text
#D8A8EC text on black 10.73:1 AAA Lc -64.8 Content text, not long reading

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

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E9CEF4

    oklch(88.6% 0.059 316.2)

  4. Step 300

    300 (this color)

    #D8A8EC

    oklch(79.8% 0.107 315.8)

  5. Step 400

    400

    #C97BE8

    oklch(70.7% 0.172 315.7)

  6. Step 500

    500

    #BA53E0

    oklch(63.1% 0.218 315.7)

  7. Step 600

    600

    #A62DCE

    oklch(55.6% 0.238 315.8)

  8. Step 700

    700

    #8E1CB2

    oklch(49% 0.221 315.8)

  9. Step 800

    800

    #731C90

    oklch(42.6% 0.183 315.7)

  10. Step 900

    900

    #5D2073

    oklch(37.6% 0.142 315.6)

  11. Step 950

    950

    #371443

    oklch(26.9% 0.091 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#D8A8EC 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)#9FB6EF0.083
Deuteranopia (no green cones)#A9BBEA0.079
Tritanopia (no blue cones)#D7B0C00.073
Achromatopsia (no color)#B9B9B90.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A8EC

    #D8A8EC

    oklch(79.8% 0.107 315.8)

  • #9ECD87

    #9ECD87

    oklch(79.8% 0.107 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A8EC

    #D8A8EC

    oklch(79.8% 0.107 315.8)

  • #B7B3FF

    #B7B3FF

    oklch(79.8% 0.107 286.1)

  • #EFA1CC

    #EFA1CC

    oklch(79.8% 0.107 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #D8A8EC

    #D8A8EC

    oklch(79.8% 0.107 315.8)

  • #C6C26D

    #C6C26D

    oklch(79.9% 0.108 106.2)

  • #74D3AD

    #74D3AD

    oklch(79.8% 0.107 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A8EC

    #D8A8EC

    oklch(79.8% 0.107 315.8)

  • #E5B46B

    #E5B46B

    oklch(79.9% 0.107 76.2)

  • #5AD3D3

    #5AD3D3

    oklch(79.9% 0.108 195.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A8EC

    #D8A8EC

    oklch(79.8% 0.107 315.8)

  • #F7A782

    #F7A782

    oklch(79.8% 0.107 45.6)

  • #9ECD87

    #9ECD87

    oklch(79.8% 0.107 135.8)

  • #69CBF1

    #69CBF1

    oklch(79.7% 0.107 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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