#D7AFE6

Closest named color: Light Violet (#D6B4FC). oklch(80.7% 0.087 316.7), rgb(215, 175, 230).

Aa

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

About this color

#D7AFE6 is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.087 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.030 away. Black text reads best on it, at 11.16:1.

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

Values

HEX#D7AFE6
RGBrgb(215, 175, 230)
HSLhsl(284, 52%, 79%)
OKLCHoklch(80.7% 0.087 316.7)

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 #D7AFE6 1.88:1 Fails Lc -39.9 Non-text elements, placeholder text
Black text on #D7AFE6 11.16:1 AAA Lc 68.3 Content text, not long reading
#D7AFE6 text on white 1.88:1 Fails Lc 35.6 Non-text elements, placeholder text
#D7AFE6 text on black 11.16:1 AAA Lc -66.9 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

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300 (this color)

    #D7AFE6

    oklch(80.7% 0.087 316.7)

  5. Step 400

    400

    #C383DA

    oklch(70.6% 0.14 316.8)

  6. Step 500

    500

    #B361D0

    oklch(63.1% 0.178 316.5)

  7. Step 600

    600

    #9E43BD

    oklch(55.5% 0.195 316.4)

  8. Step 700

    700

    #8734A3

    oklch(49.1% 0.18 316.4)

  9. Step 800

    800

    #6E2C84

    oklch(42.7% 0.15 316.6)

  10. Step 900

    900

    #59296A

    oklch(37.6% 0.117 316.4)

  11. Step 950

    950

    #34193E

    oklch(27% 0.074 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFE6 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)#A8BAE80.068
Deuteranopia (no green cones)#B1BEE40.063
Tritanopia (no blue cones)#D7B5C20.059
Achromatopsia (no color)#BDBDBD0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFE6

    #D7AFE6

    oklch(80.7% 0.087 316.7)

  • #A6CE96

    #A6CE96

    oklch(80.8% 0.088 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFE6

    #D7AFE6

    oklch(80.7% 0.087 316.7)

  • #BBB8F6

    #BBB8F6

    oklch(80.7% 0.087 286.5)

  • #EAAACB

    #EAAACB

    oklch(80.8% 0.086 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFE6

    #D7AFE6

    oklch(80.7% 0.087 316.7)

  • #C6C481

    #C6C481

    oklch(80.6% 0.087 106.7)

  • #87D3B4

    #87D3B4

    oklch(80.8% 0.088 166.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFE6

    #D7AFE6

    oklch(80.7% 0.087 316.7)

  • #E0B97F

    #E0B97F

    oklch(80.7% 0.087 76.9)

  • #77D2D3

    #77D2D3

    oklch(80.8% 0.087 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFE6

    #D7AFE6

    oklch(80.7% 0.087 316.7)

  • #F0AF90

    #F0AF90

    oklch(80.7% 0.088 46.5)

  • #A6CE96

    #A6CE96

    oklch(80.8% 0.088 136.9)

  • #80CCEC

    #80CCEC

    oklch(80.7% 0.088 226.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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