#D5AFE2

Closest named color: Light Violet (#D6B4FC). oklch(80.4% 0.082 317.4), rgb(213, 175, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.05:1
White text1.89:1

Values

HEX#D5AFE2
RGBrgb(213, 175, 226)
HSLhsl(285, 47%, 79%)
OKLCHoklch(80.4% 0.082 317.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 #D5AFE2 1.89:1 Fails Lc -40.4 Non-text elements, placeholder text
Black text on #D5AFE2 11.05:1 AAA Lc 67.8 Content text, not long reading
#D5AFE2 text on white 1.89:1 Fails Lc 36.1 Non-text elements, placeholder text
#D5AFE2 text on black 11.05:1 AAA Lc -66.4 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E6D0ED

    oklch(88.4% 0.046 318)

  4. Step 300

    300 (this color)

    #D5AFE2

    oklch(80.4% 0.082 317.4)

  5. Step 400

    400

    #C285D6

    oklch(70.7% 0.132 317.5)

  6. Step 500

    500

    #B264CA

    oklch(63.1% 0.167 317.8)

  7. Step 600

    600

    #9D48B7

    oklch(55.6% 0.181 317.6)

  8. Step 700

    700

    #86389E

    oklch(49.1% 0.169 317.4)

  9. Step 800

    800

    #6D3080

    oklch(42.8% 0.139 317.4)

  10. Step 900

    900

    #582B67

    oklch(37.6% 0.11 317)

  11. Step 950

    950

    #341A3C

    oklch(27% 0.069 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#D5AFE2 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)#A9BAE40.065
Deuteranopia (no green cones)#B1BDE00.060
Tritanopia (no blue cones)#D5B4C10.053
Achromatopsia (no color)#BCBCBC0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5AFE2

    #D5AFE2

    oklch(80.4% 0.082 317.4)

  • #A6CC98

    #A6CC98

    oklch(80.4% 0.082 137.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5AFE2

    #D5AFE2

    oklch(80.4% 0.082 317.4)

  • #BBB7F2

    #BBB7F2

    oklch(80.3% 0.083 287.5)

  • #E7AAC9

    #E7AAC9

    oklch(80.4% 0.082 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #D5AFE2

    #D5AFE2

    oklch(80.4% 0.082 317.4)

  • #C4C385

    #C4C385

    oklch(80.3% 0.082 107.3)

  • #8AD0B4

    #8AD0B4

    oklch(80.3% 0.081 167.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5AFE2

    #D5AFE2

    oklch(80.4% 0.082 317.4)

  • #DDB983

    #DDB983

    oklch(80.5% 0.082 77.3)

  • #7CD0D1

    #7CD0D1

    oklch(80.5% 0.082 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5AFE2

    #D5AFE2

    oklch(80.4% 0.082 317.4)

  • #ECAF92

    #ECAF92

    oklch(80.4% 0.082 46.5)

  • #A6CC98

    #A6CC98

    oklch(80.4% 0.082 137.4)

  • #85CAE8

    #85CAE8

    oklch(80.4% 0.081 227.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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