#D7AFF1

Closest named color: Light Violet (#D6B4FC). oklch(81.2% 0.1 311.7), rgb(215, 175, 241).

Aa

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

About this color

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

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

Values

HEX#D7AFF1
RGBrgb(215, 175, 241)
HSLhsl(276, 70%, 82%)
OKLCHoklch(81.2% 0.1 311.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 #D7AFF1 1.85:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #D7AFF1 11.29:1 AAA Lc 68.8 Content text, not long reading
#D7AFF1 text on white 1.85:1 Fails Lc 35.0 Non-text elements, placeholder text
#D7AFF1 text on black 11.29:1 AAA Lc -67.5 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

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E5CFF5

    oklch(88.4% 0.056 311)

  4. Step 300

    300 (this color)

    #D7AFF1

    oklch(81.2% 0.1 311.7)

  5. Step 400

    400

    #C180E8

    oklch(70.6% 0.16 311.7)

  6. Step 500

    500

    #B25BE1

    oklch(63.2% 0.204 311.9)

  7. Step 600

    600

    #9D3ACF

    oklch(55.6% 0.223 311.6)

  8. Step 700

    700

    #862AB3

    oklch(49% 0.207 311.6)

  9. Step 800

    800

    #6D2591

    oklch(42.6% 0.172 311.7)

  10. Step 900

    900

    #582574

    oklch(37.6% 0.134 311.3)

  11. Step 950

    950

    #341744

    oklch(27% 0.085 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFF1 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)#A5BCF40.073
Deuteranopia (no green cones)#ADBFEF0.068
Tritanopia (no blue cones)#D5B7C60.071
Achromatopsia (no color)#BEBEBE0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFF1

    #D7AFF1

    oklch(81.2% 0.1 311.7)

  • #AACF8B

    #AACF8B

    oklch(81.1% 0.1 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFF1

    #D7AFF1

    oklch(81.2% 0.1 311.7)

  • #B7BAFF

    #B7BAFF

    oklch(81.1% 0.097 282.1)

  • #EFA8D4

    #EFA8D4

    oklch(81.2% 0.1 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFF1

    #D7AFF1

    oklch(81.2% 0.1 311.7)

  • #CEC476

    #CEC476

    oklch(81.1% 0.1 102)

  • #83D6AD

    #83D6AD

    oklch(81.2% 0.101 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFF1

    #D7AFF1

    oklch(81.2% 0.1 311.7)

  • #EAB777

    #EAB777

    oklch(81.2% 0.1 71.9)

  • #6AD6D2

    #6AD6D2

    oklch(81.1% 0.1 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFF1

    #D7AFF1

    oklch(81.2% 0.1 311.7)

  • #F9AC8E

    #F9AC8E

    oklch(81.1% 0.1 42.1)

  • #AACF8B

    #AACF8B

    oklch(81.1% 0.1 131.5)

  • #71D0F0

    #71D0F0

    oklch(81.1% 0.101 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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