#D7AFEF

Closest named color: Light Violet (#D6B4FC). oklch(81.1% 0.098 312.5), rgb(215, 175, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.26:1
White text1.86:1

Values

HEX#D7AFEF
RGBrgb(215, 175, 239)
HSLhsl(278, 67%, 81%)
OKLCHoklch(81.1% 0.098 312.5)

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 #D7AFEF 1.86:1 Fails Lc -39.3 Non-text elements, placeholder text
Black text on #D7AFEF 11.26:1 AAA Lc 68.7 Content text, not long reading
#D7AFEF text on white 1.86:1 Fails Lc 35.1 Non-text elements, placeholder text
#D7AFEF text on black 11.26:1 AAA Lc -67.4 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

    #E6CFF4

    oklch(88.5% 0.056 312.8)

  4. Step 300

    300 (this color)

    #D7AFEF

    oklch(81.1% 0.098 312.5)

  5. Step 400

    400

    #C281E6

    oklch(70.8% 0.157 312.6)

  6. Step 500

    500

    #B25CDE

    oklch(63.1% 0.2 312.6)

  7. Step 600

    600

    #9D3CCC

    oklch(55.6% 0.217 312.3)

  8. Step 700

    700

    #872CB0

    oklch(49.1% 0.202 312.8)

  9. Step 800

    800

    #6D278F

    oklch(42.7% 0.168 312.2)

  10. Step 900

    900

    #592672

    oklch(37.8% 0.131 312.8)

  11. Step 950

    950

    #341743

    oklch(27% 0.084 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#D7AFEF 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)#A5BCF20.073
Deuteranopia (no green cones)#AEBFED0.068
Tritanopia (no blue cones)#D5B7C60.069
Achromatopsia (no color)#BEBEBE0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7AFEF

    #D7AFEF

    oklch(81.1% 0.098 312.5)

  • #A9CF8D

    #A9CF8D

    oklch(81.1% 0.098 132.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7AFEF

    #D7AFEF

    oklch(81.1% 0.098 312.5)

  • #B7BAFF

    #B7BAFF

    oklch(81.1% 0.097 282.1)

  • #EEA8D2

    #EEA8D2

    oklch(81.1% 0.098 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #D7AFEF

    #D7AFEF

    oklch(81.1% 0.098 312.5)

  • #CDC478

    #CDC478

    oklch(81.1% 0.098 102.4)

  • #84D5AF

    #84D5AF

    oklch(81% 0.097 162.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7AFEF

    #D7AFEF

    oklch(81.1% 0.098 312.5)

  • #E8B779

    #E8B779

    oklch(81% 0.097 72.3)

  • #6CD5D2

    #6CD5D2

    oklch(81% 0.098 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7AFEF

    #D7AFEF

    oklch(81.1% 0.098 312.5)

  • #F8AC8F

    #F8AC8F

    oklch(81% 0.098 41.7)

  • #A9CF8D

    #A9CF8D

    oklch(81.1% 0.098 132.6)

  • #74D0EF

    #74D0EF

    oklch(81.2% 0.098 222.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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