#D7AFFD

Closest named color: Light Violet (#D6B4FC). oklch(81.7% 0.115 307.4), rgb(215, 175, 253).

Aa

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

About this color

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

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

Values

HEX#D7AFFD
RGBrgb(215, 175, 253)
HSLhsl(271, 95%, 84%)
OKLCHoklch(81.7% 0.115 307.4)

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 #D7AFFD 1.83:1 Fails Lc -38.5 Non-text elements, placeholder text
Black text on #D7AFFD 11.43:1 AAA Lc 69.5 Content text, not long reading
#D7AFFD text on white 1.83:1 Fails Lc 34.4 Non-text elements, placeholder text
#D7AFFD text on black 11.43:1 AAA Lc -68.2 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

    #F0E4FC

    oklch(93.5% 0.034 308.1)

  3. Step 200

    200

    #E4CFFB

    oklch(88.6% 0.064 306.7)

  4. Step 300

    300 (this color)

    #D7AFFD

    oklch(81.7% 0.115 307.4)

  5. Step 400

    400

    #C07CF8

    oklch(70.7% 0.185 307.7)

  6. Step 500

    500

    #B052F4

    oklch(63% 0.235 307.6)

  7. Step 600

    600

    #9C2AE3

    oklch(55.6% 0.256 307.5)

  8. Step 700

    700

    #8517C5

    oklch(49% 0.238 307.4)

  9. Step 800

    800

    #6C1A9F

    oklch(42.6% 0.196 307.5)

  10. Step 900

    900

    #581F7F

    oklch(37.7% 0.154 307.6)

  11. Step 950

    950

    #33144A

    oklch(26.9% 0.098 307.4)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFFD 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)#A0BEFF0.080
Deuteranopia (no green cones)#A9C0FB0.073
Tritanopia (no blue cones)#D2BACB0.086
Achromatopsia (no color)#BFBFBF0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFFD

    #D7AFFD

    oklch(81.7% 0.115 307.4)

  • #AED17F

    #AED17F

    oklch(81.6% 0.114 127.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFFD

    #D7AFFD

    oklch(81.7% 0.115 307.4)

  • #B4BEFF

    #B4BEFF

    oklch(81.7% 0.092 277.4)

  • #F3A6DE

    #F3A6DE

    oklch(81.7% 0.115 337.1)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFFD

    #D7AFFD

    oklch(81.7% 0.115 307.4)

  • #D7C468

    #D7C468

    oklch(81.7% 0.115 97.9)

  • #7FDAA6

    #7FDAA6

    oklch(81.7% 0.115 157.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFFD

    #D7AFFD

    oklch(81.7% 0.115 307.4)

  • #F5B46E

    #F5B46E

    oklch(81.6% 0.115 67.1)

  • #59DBD0

    #59DBD0

    oklch(81.7% 0.115 187.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFFD

    #D7AFFD

    oklch(81.7% 0.115 307.4)

  • #FFAB91

    #FFAB91

    oklch(81.7% 0.106 37.9)

  • #AED17F

    #AED17F

    oklch(81.6% 0.114 127.6)

  • #5DD5F4

    #5DD5F4

    oklch(81.7% 0.115 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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