#D8A7F7

Closest named color: Pale Violet (#CEAEFA). oklch(80.1% 0.122 311.8), rgb(216, 167, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.79:1
White text1.94:1

Values

HEX#D8A7F7
RGBrgb(216, 167, 247)
HSLhsl(277, 83%, 81%)
OKLCHoklch(80.1% 0.122 311.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 #D8A7F7 1.94:1 Fails Lc -41.6 Non-text elements, placeholder text
Black text on #D8A7F7 10.79:1 AAA Lc 66.6 Content text, not long reading
#D8A7F7 text on white 1.94:1 Fails Lc 37.3 Non-text elements, placeholder text
#D8A7F7 text on black 10.79:1 AAA Lc -65.1 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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F2E4FB

    oklch(93.7% 0.034 312.4)

  3. Step 200

    200

    #E8CDFA

    oklch(88.5% 0.067 311.8)

  4. Step 300

    300 (this color)

    #D8A7F7

    oklch(80.1% 0.122 311.8)

  5. Step 400

    400

    #C877F7

    oklch(70.8% 0.194 311.6)

  6. Step 500

    500

    #BA48F3

    oklch(63.1% 0.249 311.9)

  7. Step 600

    600

    #A613E2

    oklch(55.7% 0.271 311.8)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #73099E

    oklch(42.6% 0.208 311.8)

  10. Step 900

    900

    #5D197E

    oklch(37.7% 0.162 311.6)

  11. Step 950

    950

    #37114A

    oklch(27% 0.104 312)

Export this scale for Tailwind in the Tailwind colors tool

#D8A7F7 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)#99B7FA0.091
Deuteranopia (no green cones)#A4BBF50.085
Tritanopia (no blue cones)#D5B2C40.087
Achromatopsia (no color)#BABABA0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A7F7

    #D8A7F7

    oklch(80.1% 0.122 311.8)

  • #A1CE7B

    #A1CE7B

    oklch(80% 0.12 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A7F7

    #D8A7F7

    oklch(80.1% 0.122 311.8)

  • #B3B6FF

    #B3B6FF

    oklch(80.1% 0.103 282)

  • #F49ED4

    #F49ED4

    oklch(80.1% 0.122 342)

Open the analogous palette in the generator

Split complementary

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

  • #D8A7F7

    #D8A7F7

    oklch(80.1% 0.122 311.8)

  • #CEC15E

    #CEC15E

    oklch(80.2% 0.121 101.9)

  • #6DD6A6

    #6DD6A6

    oklch(80% 0.121 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A7F7

    #D8A7F7

    oklch(80.1% 0.122 311.8)

  • #EFB160

    #EFB160

    oklch(80.2% 0.122 71.9)

  • #43D7D2

    #43D7D2

    oklch(80.2% 0.122 191.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A7F7

    #D8A7F7

    oklch(80.1% 0.122 311.8)

  • #FFA480

    #FFA480

    oklch(80.2% 0.119 42.3)

  • #A1CE7B

    #A1CE7B

    oklch(80% 0.12 131.8)

  • #52CFF6

    #52CFF6

    oklch(80% 0.122 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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