#D6AFEF

Closest named color: Light Violet (#D6B4FC). oklch(81% 0.097 311.9), rgb(214, 175, 239).

Aa

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

About this color

#D6AFEF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.097 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.019 away. Black text reads best on it, at 11.23:1.

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

Values

HEX#D6AFEF
RGBrgb(214, 175, 239)
HSLhsl(277, 67%, 81%)
OKLCHoklch(81% 0.097 311.9)

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 #D6AFEF 1.86:1 Fails Lc -39.5 Non-text elements, placeholder text
Black text on #D6AFEF 11.23:1 AAA Lc 68.6 Content text, not long reading
#D6AFEF text on white 1.86:1 Fails Lc 35.3 Non-text elements, placeholder text
#D6AFEF text on black 11.23:1 AAA Lc -67.2 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

    #E5CFF4

    oklch(88.4% 0.055 311.7)

  4. Step 300

    300 (this color)

    #D6AFEF

    oklch(81% 0.097 311.9)

  5. Step 400

    400

    #C181E6

    oklch(70.7% 0.156 312.1)

  6. Step 500

    500

    #B15DDF

    oklch(63.2% 0.199 311.9)

  7. Step 600

    600

    #9C3DCC

    oklch(55.6% 0.216 311.8)

  8. Step 700

    700

    #862DB1

    oklch(49.2% 0.202 312)

  9. Step 800

    800

    #6C288F

    oklch(42.7% 0.166 311.6)

  10. Step 900

    900

    #582672

    oklch(37.6% 0.13 312.1)

  11. Step 950

    950

    #341843

    oklch(27.1% 0.082 312.2)

Export this scale for Tailwind in the Tailwind colors tool

#D6AFEF 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)#A5BBF20.071
Deuteranopia (no green cones)#ADBEED0.066
Tritanopia (no blue cones)#D4B7C60.069
Achromatopsia (no color)#BDBDBD0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #D6AFEF

    #D6AFEF

    oklch(81% 0.097 311.9)

  • #AACF8C

    #AACF8C

    oklch(81.1% 0.099 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D6AFEF

    #D6AFEF

    oklch(81% 0.097 311.9)

  • #B6BAFF

    #B6BAFF

    oklch(81.1% 0.097 281.4)

  • #EDA8D3

    #EDA8D3

    oklch(81% 0.098 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #D6AFEF

    #D6AFEF

    oklch(81% 0.097 311.9)

  • #CDC478

    #CDC478

    oklch(81.1% 0.098 102.4)

  • #85D5AE

    #85D5AE

    oklch(81.1% 0.097 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D6AFEF

    #D6AFEF

    oklch(81% 0.097 311.9)

  • #E8B779

    #E8B779

    oklch(81% 0.097 72.3)

  • #6DD5D1

    #6DD5D1

    oklch(81% 0.097 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D6AFEF

    #D6AFEF

    oklch(81% 0.097 311.9)

  • #F7AC8F

    #F7AC8F

    oklch(80.9% 0.097 42)

  • #AACF8C

    #AACF8C

    oklch(81.1% 0.099 131.8)

  • #74CFEE

    #74CFEE

    oklch(80.9% 0.097 222.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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