#D8AFFC

Closest named color: Light Violet (#D6B4FC). oklch(81.7% 0.114 308.3), rgb(216, 175, 252).

Aa

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

About this color

#D8AFFC is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.114 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.012 away. Black text reads best on it, at 11.45:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.45:1
White text1.83:1

Values

HEX#D8AFFC
RGBrgb(216, 175, 252)
HSLhsl(272, 93%, 84%)
OKLCHoklch(81.7% 0.114 308.3)

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 #D8AFFC 1.83:1 Fails Lc -38.4 Non-text elements, placeholder text
Black text on #D8AFFC 11.45:1 AAA Lc 69.6 Content text, not long reading
#D8AFFC text on white 1.83:1 Fails Lc 34.3 Non-text elements, placeholder text
#D8AFFC text on black 11.45:1 AAA Lc -68.3 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FB

    oklch(93.5% 0.033 309)

  3. Step 200

    200

    #E5CEFA

    oklch(88.4% 0.064 308.6)

  4. Step 300

    300 (this color)

    #D8AFFC

    oklch(81.7% 0.114 308.3)

  5. Step 400

    400

    #C17CF6

    oklch(70.7% 0.183 308.5)

  6. Step 500

    500

    #B152F2

    oklch(63% 0.233 308.4)

  7. Step 600

    600

    #9D2AE1

    oklch(55.6% 0.254 308.3)

  8. Step 700

    700

    #8618C3

    oklch(49% 0.236 308.2)

  9. Step 800

    800

    #6D1A9E

    oklch(42.7% 0.196 308.3)

  10. Step 900

    900

    #581F7D

    oklch(37.6% 0.152 308.4)

  11. Step 950

    950

    #341449

    oklch(26.9% 0.097 309.1)

Export this scale for Tailwind in the Tailwind colors tool

#D8AFFC 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)#A1BEFF0.080
Deuteranopia (no green cones)#A9C0FA0.075
Tritanopia (no blue cones)#D4BACB0.084
Achromatopsia (no color)#BFBFBF0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8AFFC

    #D8AFFC

    oklch(81.7% 0.114 308.3)

  • #ADD280

    #ADD280

    oklch(81.8% 0.115 128.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8AFFC

    #D8AFFC

    oklch(81.7% 0.114 308.3)

  • #B5BEFF

    #B5BEFF

    oklch(81.8% 0.092 278)

  • #F4A6DC

    #F4A6DC

    oklch(81.7% 0.114 338.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8AFFC

    #D8AFFC

    oklch(81.7% 0.114 308.3)

  • #D6C469

    #D6C469

    oklch(81.6% 0.114 98.4)

  • #7FDAA7

    #7FDAA7

    oklch(81.8% 0.114 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8AFFC

    #D8AFFC

    oklch(81.7% 0.114 308.3)

  • #F4B56F

    #F4B56F

    oklch(81.7% 0.114 68)

  • #5ADBD1

    #5ADBD1

    oklch(81.7% 0.114 188.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8AFFC

    #D8AFFC

    oklch(81.7% 0.114 308.3)

  • #FFAB91

    #FFAB91

    oklch(81.7% 0.106 37.9)

  • #ADD280

    #ADD280

    oklch(81.8% 0.115 128.5)

  • #5FD5F4

    #5FD5F4

    oklch(81.7% 0.114 217.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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