#D7AFFB

Closest named color: Light Violet (#D6B4FC). oklch(81.6% 0.113 308.1), rgb(215, 175, 251).

Aa

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

About this color

#D7AFFB is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.113 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.41:1.

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

Values

HEX#D7AFFB
RGBrgb(215, 175, 251)
HSLhsl(272, 90%, 84%)
OKLCHoklch(81.6% 0.113 308.1)

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 #D7AFFB 1.83:1 Fails Lc -38.6 Non-text elements, placeholder text
Black text on #D7AFFB 11.41:1 AAA Lc 69.4 Content text, not long reading
#D7AFFB text on white 1.83:1 Fails Lc 34.5 Non-text elements, placeholder text
#D7AFFB text on black 11.41:1 AAA Lc -68.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E4FB

    oklch(93.5% 0.033 309)

  3. Step 200

    200

    #E5CFFA

    oklch(88.6% 0.063 308.2)

  4. Step 300

    300 (this color)

    #D7AFFB

    oklch(81.6% 0.113 308.1)

  5. Step 400

    400

    #C07DF5

    oklch(70.7% 0.18 308.2)

  6. Step 500

    500

    #B054F1

    oklch(63.1% 0.23 308.1)

  7. Step 600

    600

    #9C2DE0

    oklch(55.6% 0.251 308)

  8. Step 700

    700

    #861CC2

    oklch(49.2% 0.232 308.3)

  9. Step 800

    800

    #6C1C9D

    oklch(42.6% 0.193 307.9)

  10. Step 900

    900

    #58217D

    oklch(37.8% 0.15 308.1)

  11. Step 950

    950

    #331549

    oklch(26.9% 0.095 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFFB 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)#A1BDFE0.078
Deuteranopia (no green cones)#A9C0F90.073
Tritanopia (no blue cones)#D2BACA0.084
Achromatopsia (no color)#BFBFBF0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFFB

    #D7AFFB

    oklch(81.6% 0.113 308.1)

  • #ADD181

    #ADD181

    oklch(81.6% 0.113 128.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFFB

    #D7AFFB

    oklch(81.6% 0.113 308.1)

  • #B4BDFF

    #B4BDFF

    oklch(81.5% 0.094 278.1)

  • #F3A6DC

    #F3A6DC

    oklch(81.6% 0.113 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFFB

    #D7AFFB

    oklch(81.6% 0.113 308.1)

  • #D6C46A

    #D6C46A

    oklch(81.7% 0.113 98.3)

  • #80D9A7

    #80D9A7

    oklch(81.6% 0.112 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFFB

    #D7AFFB

    oklch(81.6% 0.113 308.1)

  • #F3B570

    #F3B570

    oklch(81.6% 0.112 68.1)

  • #5CDAD0

    #5CDAD0

    oklch(81.5% 0.112 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFFB

    #D7AFFB

    oklch(81.6% 0.113 308.1)

  • #FFAA90

    #FFAA90

    oklch(81.5% 0.107 37.7)

  • #ADD181

    #ADD181

    oklch(81.6% 0.113 128.4)

  • #60D4F3

    #60D4F3

    oklch(81.5% 0.113 218.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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