#AF81DA

Closest named color: Wisteria (#A87DC2). oklch(68.3% 0.135 306.9), rgb(175, 129, 218).

Aa

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

About this color

#AF81DA is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.135 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.037 away. Black text reads best on it, at 6.97:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.97:1
White text3.01:1

Values

HEX#AF81DA
RGBrgb(175, 129, 218)
HSLhsl(271, 55%, 68%)
OKLCHoklch(68.3% 0.135 306.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 #AF81DA 3.01:1 AA large text Lc -62.0 Content text, not long reading
Black text on #AF81DA 6.97:1 AA Lc 47.4 Large or bold text, headings
#AF81DA text on white 3.01:1 AA large text Lc 56.7 Large or bold text, headings
#AF81DA text on black 6.97:1 AA Lc -45.1 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E1D2F2

    oklch(88.6% 0.046 306.6)

  4. Step 300

    300

    #CFB3EC

    oklch(81% 0.084 306.9)

  5. Step 400

    400 (this color)

    #AF81DA

    oklch(68.3% 0.135 306.9)

  6. Step 500

    500

    #A568DA

    oklch(63.1% 0.173 306.8)

  7. Step 600

    600

    #904CC7

    oklch(55.6% 0.187 306.8)

  8. Step 700

    700

    #7B3CAC

    oklch(49.1% 0.174 307)

  9. Step 800

    800

    #64328B

    oklch(42.6% 0.145 307.2)

  10. Step 900

    900

    #512D6F

    oklch(37.6% 0.113 307)

  11. Step 950

    950

    #301B41

    oklch(27% 0.072 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF81DA 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)#6D93DD0.098
Deuteranopia (no green cones)#7895D80.090
Tritanopia (no blue cones)#A98FA30.100
Achromatopsia (no color)#9595950.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF81DA

    #AF81DA

    oklch(68.3% 0.135 306.9)

  • #82A844

    #82A844

    oklch(68.2% 0.136 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF81DA

    #AF81DA

    oklch(68.3% 0.135 306.9)

  • #8490EB

    #8490EB

    oklch(68.3% 0.134 276.5)

  • #CD76B7

    #CD76B7

    oklch(68.2% 0.136 337.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF81DA

    #AF81DA

    oklch(68.3% 0.135 306.9)

  • #B19817

    #B19817

    oklch(68.2% 0.135 96.8)

  • #40B276

    #40B276

    oklch(68.4% 0.136 156.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF81DA

    #AF81DA

    oklch(68.3% 0.135 306.9)

  • #D0862A

    #D0862A

    oklch(68.2% 0.136 66.7)

  • #00B0A5

    #00B0A5

    oklch(68.2% 0.119 186.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF81DA

    #AF81DA

    oklch(68.3% 0.135 306.9)

  • #DF785A

    #DF785A

    oklch(68.2% 0.136 37.1)

  • #82A844

    #82A844

    oklch(68.2% 0.136 127.2)

  • #00ABCA

    #00ABCA

    oklch(68.3% 0.122 216.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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