#D7AFE3

Closest named color: Light Violet (#D6B4FC). oklch(80.6% 0.084 318.3), rgb(215, 175, 227).

Aa

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

About this color

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

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

Values

HEX#D7AFE3
RGBrgb(215, 175, 227)
HSLhsl(286, 48%, 79%)
OKLCHoklch(80.6% 0.084 318.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 #D7AFE3 1.88:1 Fails Lc -40.0 Non-text elements, placeholder text
Black text on #D7AFE3 11.13:1 AAA Lc 68.1 Content text, not long reading
#D7AFE3 text on white 1.88:1 Fails Lc 35.8 Non-text elements, placeholder text
#D7AFE3 text on black 11.13: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

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0ED

    oklch(88.5% 0.046 319.2)

  4. Step 300

    300 (this color)

    #D7AFE3

    oklch(80.6% 0.084 318.3)

  5. Step 400

    400

    #C384D6

    oklch(70.6% 0.134 318.1)

  6. Step 500

    500

    #B462CB

    oklch(63.1% 0.172 318.5)

  7. Step 600

    600

    #9F45B8

    oklch(55.6% 0.187 318.3)

  8. Step 700

    700

    #88369E

    oklch(49.1% 0.173 318.5)

  9. Step 800

    800

    #6E2E80

    oklch(42.7% 0.143 318.2)

  10. Step 900

    900

    #5A2A67

    oklch(37.7% 0.112 318.7)

  11. Step 950

    950

    #35193C

    oklch(27% 0.072 319.3)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFE3 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)#A9BAE50.067
Deuteranopia (no green cones)#B2BEE10.063
Tritanopia (no blue cones)#D7B4C10.055
Achromatopsia (no color)#BDBDBD0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFE3

    #D7AFE3

    oklch(80.6% 0.084 318.3)

  • #A5CD99

    #A5CD99

    oklch(80.6% 0.083 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFE3

    #D7AFE3

    oklch(80.6% 0.084 318.3)

  • #BDB8F3

    #BDB8F3

    oklch(80.7% 0.083 288.3)

  • #E9AAC9

    #E9AAC9

    oklch(80.6% 0.084 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFE3

    #D7AFE3

    oklch(80.6% 0.084 318.3)

  • #C4C485

    #C4C485

    oklch(80.5% 0.083 108.1)

  • #88D2B6

    #88D2B6

    oklch(80.7% 0.084 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFE3

    #D7AFE3

    oklch(80.6% 0.084 318.3)

  • #DEBA81

    #DEBA81

    oklch(80.7% 0.085 78.6)

  • #7AD1D3

    #7AD1D3

    oklch(80.7% 0.084 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFE3

    #D7AFE3

    oklch(80.6% 0.084 318.3)

  • #EDB090

    #EDB090

    oklch(80.6% 0.084 48.8)

  • #A5CD99

    #A5CD99

    oklch(80.6% 0.083 138.5)

  • #84CBEB

    #84CBEB

    oklch(80.7% 0.084 228.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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