#D7AFE4

Closest named color: Light Violet (#D6B4FC). oklch(80.7% 0.085 317.8), rgb(215, 175, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.14:1
White text1.88:1

Values

HEX#D7AFE4
RGBrgb(215, 175, 228)
HSLhsl(285, 50%, 79%)
OKLCHoklch(80.7% 0.085 317.8)

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 #D7AFE4 1.88:1 Fails Lc -40.0 Non-text elements, placeholder text
Black text on #D7AFE4 11.14:1 AAA Lc 68.2 Content text, not long reading
#D7AFE4 text on white 1.88:1 Fails Lc 35.7 Non-text elements, placeholder text
#D7AFE4 text on black 11.14:1 AAA Lc -66.8 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EE

    oklch(88.5% 0.047 317.1)

  4. Step 300

    300 (this color)

    #D7AFE4

    oklch(80.7% 0.085 317.8)

  5. Step 400

    400

    #C384D7

    oklch(70.7% 0.135 317.8)

  6. Step 500

    500

    #B362CD

    oklch(63.1% 0.173 317.4)

  7. Step 600

    600

    #9F45B9

    oklch(55.6% 0.188 318)

  8. Step 700

    700

    #8835A0

    oklch(49.1% 0.176 317.8)

  9. Step 800

    800

    #6E2D81

    oklch(42.6% 0.145 317.8)

  10. Step 900

    900

    #592A68

    oklch(37.7% 0.113 317.3)

  11. Step 950

    950

    #34193D

    oklch(26.9% 0.072 317.1)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFE4 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)#A9BAE60.067
Deuteranopia (no green cones)#B1BEE20.064
Tritanopia (no blue cones)#D7B5C10.057
Achromatopsia (no color)#BDBDBD0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFE4

    #D7AFE4

    oklch(80.7% 0.085 317.8)

  • #A5CD98

    #A5CD98

    oklch(80.6% 0.084 138.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFE4

    #D7AFE4

    oklch(80.7% 0.085 317.8)

  • #BCB8F4

    #BCB8F4

    oklch(80.7% 0.084 287.4)

  • #EAAACA

    #EAAACA

    oklch(80.7% 0.085 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFE4

    #D7AFE4

    oklch(80.7% 0.085 317.8)

  • #C5C484

    #C5C484

    oklch(80.6% 0.084 107.4)

  • #88D2B5

    #88D2B5

    oklch(80.7% 0.085 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFE4

    #D7AFE4

    oklch(80.7% 0.085 317.8)

  • #DEB981

    #DEB981

    oklch(80.5% 0.084 77.5)

  • #79D1D3

    #79D1D3

    oklch(80.6% 0.085 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFE4

    #D7AFE4

    oklch(80.7% 0.085 317.8)

  • #EEB090

    #EEB090

    oklch(80.7% 0.085 48.4)

  • #A5CD98

    #A5CD98

    oklch(80.6% 0.084 138.1)

  • #83CBEB

    #83CBEB

    oklch(80.6% 0.085 228)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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