#D7AFF7

Closest named color: Light Violet (#D6B4FC). oklch(81.4% 0.108 309.4), rgb(215, 175, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.36:1
White text1.84:1

Values

HEX#D7AFF7
RGBrgb(215, 175, 247)
HSLhsl(273, 82%, 83%)
OKLCHoklch(81.4% 0.108 309.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 #D7AFF7 1.84:1 Fails Lc -38.9 Non-text elements, placeholder text
Black text on #D7AFF7 11.36:1 AAA Lc 69.2 Content text, not long reading
#D7AFF7 text on white 1.84:1 Fails Lc 34.7 Non-text elements, placeholder text
#D7AFF7 text on black 11.36:1 AAA Lc -67.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5FA

    oklch(93.7% 0.03 309.1)

  3. Step 200

    200

    #E5CFF8

    oklch(88.5% 0.06 309.2)

  4. Step 300

    300 (this color)

    #D7AFF7

    oklch(81.4% 0.108 309.4)

  5. Step 400

    400

    #C07EF0

    oklch(70.6% 0.172 309.4)

  6. Step 500

    500

    #B157EB

    oklch(63.2% 0.22 309.5)

  7. Step 600

    600

    #9D33D9

    oklch(55.7% 0.239 309.6)

  8. Step 700

    700

    #8622BC

    oklch(49.1% 0.222 309.6)

  9. Step 800

    800

    #6D2098

    oklch(42.7% 0.184 309.7)

  10. Step 900

    900

    #582379

    oklch(37.7% 0.143 309.4)

  11. Step 950

    950

    #341647

    oklch(27.1% 0.091 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFF7 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)#A3BDFA0.076
Deuteranopia (no green cones)#ABBFF50.070
Tritanopia (no blue cones)#D3B9C90.079
Achromatopsia (no color)#BFBFBF0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFF7

    #D7AFF7

    oklch(81.4% 0.108 309.4)

  • #ACD085

    #ACD085

    oklch(81.3% 0.107 129.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFF7

    #D7AFF7

    oklch(81.4% 0.108 309.4)

  • #B5BCFF

    #B5BCFF

    oklch(81.4% 0.095 279.4)

  • #F1A7D9

    #F1A7D9

    oklch(81.4% 0.107 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFF7

    #D7AFF7

    oklch(81.4% 0.108 309.4)

  • #D3C46F

    #D3C46F

    oklch(81.5% 0.108 99.5)

  • #81D8AA

    #81D8AA

    oklch(81.5% 0.108 159.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFF7

    #D7AFF7

    oklch(81.4% 0.108 309.4)

  • #EFB673

    #EFB673

    oklch(81.4% 0.107 69.9)

  • #62D9D1

    #62D9D1

    oklch(81.5% 0.108 189.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFF7

    #D7AFF7

    oklch(81.4% 0.108 309.4)

  • #FEAA8E

    #FEAA8E

    oklch(81.3% 0.107 39.2)

  • #ACD085

    #ACD085

    oklch(81.3% 0.107 129.4)

  • #67D3F2

    #67D3F2

    oklch(81.5% 0.108 219.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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