#D8AFF2

Closest named color: Light Violet (#D6B4FC). oklch(81.3% 0.102 311.9), rgb(216, 175, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.33:1
White text1.85:1

Values

HEX#D8AFF2
RGBrgb(216, 175, 242)
HSLhsl(277, 72%, 82%)
OKLCHoklch(81.3% 0.102 311.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 #D8AFF2 1.85:1 Fails Lc -39.0 Non-text elements, placeholder text
Black text on #D8AFF2 11.33:1 AAA Lc 69.0 Content text, not long reading
#D8AFF2 text on white 1.85:1 Fails Lc 34.8 Non-text elements, placeholder text
#D8AFF2 text on black 11.33:1 AAA Lc -67.7 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E6CFF5

    oklch(88.5% 0.057 312.1)

  4. Step 300

    300 (this color)

    #D8AFF2

    oklch(81.3% 0.102 311.9)

  5. Step 400

    400

    #C27FE9

    oklch(70.6% 0.163 312)

  6. Step 500

    500

    #B359E2

    oklch(63.1% 0.209 312.2)

  7. Step 600

    600

    #9E38D0

    oklch(55.6% 0.226 311.9)

  8. Step 700

    700

    #8728B4

    oklch(49.1% 0.21 311.9)

  9. Step 800

    800

    #6E2492

    oklch(42.7% 0.174 311.9)

  10. Step 900

    900

    #592474

    oklch(37.6% 0.136 312.1)

  11. Step 950

    950

    #341744

    oklch(27% 0.085 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#D8AFF2 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)#A5BCF50.074
Deuteranopia (no green cones)#ADBFF00.070
Tritanopia (no blue cones)#D6B7C70.071
Achromatopsia (no color)#BEBEBE0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8AFF2

    #D8AFF2

    oklch(81.3% 0.102 311.9)

  • #AAD08B

    #AAD08B

    oklch(81.3% 0.101 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8AFF2

    #D8AFF2

    oklch(81.3% 0.102 311.9)

  • #B7BBFF

    #B7BBFF

    oklch(81.3% 0.096 281.4)

  • #F0A8D4

    #F0A8D4

    oklch(81.3% 0.101 342.3)

Open the analogous palette in the generator

Split complementary

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

  • #D8AFF2

    #D8AFF2

    oklch(81.3% 0.102 311.9)

  • #CFC575

    #CFC575

    oklch(81.4% 0.102 102.1)

  • #82D7AE

    #82D7AE

    oklch(81.4% 0.102 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8AFF2

    #D8AFF2

    oklch(81.3% 0.102 311.9)

  • #EBB776

    #EBB776

    oklch(81.3% 0.102 71.8)

  • #68D7D3

    #68D7D3

    oklch(81.3% 0.102 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8AFF2

    #D8AFF2

    oklch(81.3% 0.102 311.9)

  • #FBAC8E

    #FBAC8E

    oklch(81.4% 0.102 41.6)

  • #AAD08B

    #AAD08B

    oklch(81.3% 0.101 131.8)

  • #70D1F1

    #70D1F1

    oklch(81.3% 0.102 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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