#D7A8EF

Closest named color: Pale Violet (#CEAEFA). oklch(79.8% 0.11 313.9), rgb(215, 168, 239).

Aa

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

About this color

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

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

Values

HEX#D7A8EF
RGBrgb(215, 168, 239)
HSLhsl(280, 69%, 80%)
OKLCHoklch(79.8% 0.11 313.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 #D7A8EF 1.95:1 Fails Lc -41.9 Non-text elements, placeholder text
Black text on #D7A8EF 10.73:1 AAA Lc 66.3 Content text, not long reading
#D7A8EF text on white 1.95:1 Fails Lc 37.6 Non-text elements, placeholder text
#D7A8EF text on black 10.73:1 AAA Lc -64.9 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E8CEF6

    oklch(88.5% 0.061 313.8)

  4. Step 300

    300 (this color)

    #D7A8EF

    oklch(79.8% 0.11 313.9)

  5. Step 400

    400

    #C87BEC

    oklch(70.8% 0.176 314.1)

  6. Step 500

    500

    #B951E6

    oklch(63.1% 0.226 314)

  7. Step 600

    600

    #A42BD4

    oklch(55.6% 0.244 313.7)

  8. Step 700

    700

    #8D19B7

    oklch(49.1% 0.227 314.1)

  9. Step 800

    800

    #721A94

    oklch(42.6% 0.188 313.9)

  10. Step 900

    900

    #5D1F76

    oklch(37.7% 0.147 314.4)

  11. Step 950

    950

    #361445

    oklch(26.9% 0.093 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#D7A8EF 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)#9DB7F20.085
Deuteranopia (no green cones)#A8BBED0.078
Tritanopia (no blue cones)#D5B1C10.077
Achromatopsia (no color)#B9B9B90.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7A8EF

    #D7A8EF

    oklch(79.8% 0.11 313.9)

  • #A0CD84

    #A0CD84

    oklch(79.8% 0.11 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7A8EF

    #D7A8EF

    oklch(79.8% 0.11 313.9)

  • #B5B4FF

    #B5B4FF

    oklch(79.8% 0.106 284.4)

  • #F0A0CF

    #F0A0CF

    oklch(79.8% 0.111 343.8)

Open the analogous palette in the generator

Split complementary

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

  • #D7A8EF

    #D7A8EF

    oklch(79.8% 0.11 313.9)

  • #C9C16A

    #C9C16A

    oklch(79.9% 0.11 103.9)

  • #74D4AA

    #74D4AA

    oklch(79.9% 0.11 163.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7A8EF

    #D7A8EF

    oklch(79.8% 0.11 313.9)

  • #E8B269

    #E8B269

    oklch(79.8% 0.11 73.4)

  • #56D3D2

    #56D3D2

    oklch(79.7% 0.11 194.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7A8EF

    #D7A8EF

    oklch(79.8% 0.11 313.9)

  • #F9A682

    #F9A682

    oklch(79.9% 0.11 44.2)

  • #A0CD84

    #A0CD84

    oklch(79.8% 0.11 134.1)

  • #63CCF2

    #63CCF2

    oklch(79.7% 0.111 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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