#D7AFF2

Closest named color: Light Violet (#D6B4FC). oklch(81.2% 0.102 311.3), rgb(215, 175, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.30:1
White text1.85:1

Values

HEX#D7AFF2
RGBrgb(215, 175, 242)
HSLhsl(276, 72%, 82%)
OKLCHoklch(81.2% 0.102 311.3)

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 #D7AFF2 1.85:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #D7AFF2 11.30:1 AAA Lc 68.9 Content text, not long reading
#D7AFF2 text on white 1.85:1 Fails Lc 35.0 Non-text elements, placeholder text
#D7AFF2 text on black 11.30:1 AAA Lc -67.6 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F9

    oklch(93.6% 0.029 310.1)

  3. Step 200

    200

    #E5CFF5

    oklch(88.4% 0.056 311)

  4. Step 300

    300 (this color)

    #D7AFF2

    oklch(81.2% 0.102 311.3)

  5. Step 400

    400

    #C180EA

    oklch(70.7% 0.162 311.1)

  6. Step 500

    500

    #B15AE3

    oklch(63% 0.208 311.1)

  7. Step 600

    600

    #9D39D1

    oklch(55.6% 0.226 311.2)

  8. Step 700

    700

    #8629B5

    oklch(49.1% 0.21 311.1)

  9. Step 800

    800

    #6D2592

    oklch(42.7% 0.173 311.3)

  10. Step 900

    900

    #582575

    oklch(37.7% 0.135 310.9)

  11. Step 950

    950

    #341744

    oklch(27% 0.085 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFF2 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)#A4BCF50.074
Deuteranopia (no green cones)#ADBFF00.068
Tritanopia (no blue cones)#D4B8C70.073
Achromatopsia (no color)#BEBEBE0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFF2

    #D7AFF2

    oklch(81.2% 0.102 311.3)

  • #AAD08A

    #AAD08A

    oklch(81.3% 0.102 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFF2

    #D7AFF2

    oklch(81.2% 0.102 311.3)

  • #B6BBFF

    #B6BBFF

    oklch(81.3% 0.096 280.8)

  • #EFA8D5

    #EFA8D5

    oklch(81.3% 0.101 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFF2

    #D7AFF2

    oklch(81.2% 0.102 311.3)

  • #CFC475

    #CFC475

    oklch(81.2% 0.101 101.4)

  • #83D6AD

    #83D6AD

    oklch(81.2% 0.101 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFF2

    #D7AFF2

    oklch(81.2% 0.102 311.3)

  • #EBB776

    #EBB776

    oklch(81.3% 0.102 71.8)

  • #68D7D2

    #68D7D2

    oklch(81.3% 0.102 191.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFF2

    #D7AFF2

    oklch(81.2% 0.102 311.3)

  • #FAAC8E

    #FAAC8E

    oklch(81.2% 0.101 41.9)

  • #AAD08A

    #AAD08A

    oklch(81.3% 0.102 131.5)

  • #6FD1F0

    #6FD1F0

    oklch(81.3% 0.102 220.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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