#D7AFE2

Closest named color: Light Violet (#D6B4FC). oklch(80.6% 0.083 318.9), rgb(215, 175, 226).

Aa

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

About this color

#D7AFE2 is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.083 and its hue 319°. 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.11:1.

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

Values

HEX#D7AFE2
RGBrgb(215, 175, 226)
HSLhsl(287, 47%, 79%)
OKLCHoklch(80.6% 0.083 318.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 #D7AFE2 1.88:1 Fails Lc -40.1 Non-text elements, placeholder text
Black text on #D7AFE2 11.11:1 AAA Lc 68.1 Content text, not long reading
#D7AFE2 text on white 1.88:1 Fails Lc 35.8 Non-text elements, placeholder text
#D7AFE2 text on black 11.11:1 AAA Lc -66.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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0ED

    oklch(88.5% 0.046 319.2)

  4. Step 300

    300 (this color)

    #D7AFE2

    oklch(80.6% 0.083 318.9)

  5. Step 400

    400

    #C484D5

    oklch(70.7% 0.133 319)

  6. Step 500

    500

    #B463C9

    oklch(63.2% 0.168 319.1)

  7. Step 600

    600

    #9F46B6

    oklch(55.6% 0.184 318.9)

  8. Step 700

    700

    #88379D

    oklch(49.2% 0.171 318.8)

  9. Step 800

    800

    #6E2E7F

    oklch(42.6% 0.142 318.7)

  10. Step 900

    900

    #5A2A66

    oklch(37.7% 0.111 319.3)

  11. Step 950

    950

    #351A3C

    oklch(27.1% 0.07 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFE2 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.067
Deuteranopia (no green cones)#B2BEE00.063
Tritanopia (no blue cones)#D8B4C10.053
Achromatopsia (no color)#BDBDBD0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFE2

    #D7AFE2

    oklch(80.6% 0.083 318.9)

  • #A5CD9A

    #A5CD9A

    oklch(80.6% 0.082 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFE2

    #D7AFE2

    oklch(80.6% 0.083 318.9)

  • #BDB7F2

    #BDB7F2

    oklch(80.5% 0.083 289.1)

  • #E9AAC8

    #E9AAC8

    oklch(80.6% 0.083 349)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFE2

    #D7AFE2

    oklch(80.6% 0.083 318.9)

  • #C3C486

    #C3C486

    oklch(80.5% 0.082 108.9)

  • #89D1B6

    #89D1B6

    oklch(80.5% 0.082 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFE2

    #D7AFE2

    oklch(80.6% 0.083 318.9)

  • #DDBA82

    #DDBA82

    oklch(80.7% 0.083 78.9)

  • #7BD0D4

    #7BD0D4

    oklch(80.5% 0.083 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFE2

    #D7AFE2

    oklch(80.6% 0.083 318.9)

  • #ECB091

    #ECB091

    oklch(80.5% 0.082 48.5)

  • #A5CD9A

    #A5CD9A

    oklch(80.6% 0.082 139)

  • #86CAEA

    #86CAEA

    oklch(80.5% 0.082 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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