#AF82DB

Closest named color: Wisteria (#A87DC2). oklch(68.5% 0.135 306.4), rgb(175, 130, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text7.03:1
White text2.98:1

Values

HEX#AF82DB
RGBrgb(175, 130, 219)
HSLhsl(270, 55%, 68%)
OKLCHoklch(68.5% 0.135 306.4)

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 #AF82DB 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #AF82DB 7.03:1 AAA Lc 47.7 Large or bold text, headings
#AF82DB text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#AF82DB text on black 7.03:1 AAA Lc -45.5 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

    #CEB3EC

    oklch(80.9% 0.084 306.1)

  5. Step 400

    400 (this color)

    #AF82DB

    oklch(68.5% 0.135 306.4)

  6. Step 500

    500

    #A468DA

    oklch(63% 0.173 306.4)

  7. Step 600

    600

    #904CC7

    oklch(55.6% 0.187 306.8)

  8. Step 700

    700

    #7A3CAC

    oklch(49% 0.174 306.5)

  9. Step 800

    800

    #63338C

    oklch(42.7% 0.144 306)

  10. Step 900

    900

    #512E70

    oklch(37.8% 0.113 306.2)

  11. Step 950

    950

    #2F1B41

    oklch(26.8% 0.071 306.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF82DB 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)#6E94DE0.096
Deuteranopia (no green cones)#7896D90.089
Tritanopia (no blue cones)#A990A40.100
Achromatopsia (no color)#9595950.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF82DB

    #AF82DB

    oklch(68.5% 0.135 306.4)

  • #84A844

    #84A844

    oklch(68.4% 0.135 126.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF82DB

    #AF82DB

    oklch(68.5% 0.135 306.4)

  • #8491EC

    #8491EC

    oklch(68.5% 0.134 276.1)

  • #CD77B9

    #CD77B9

    oklch(68.4% 0.135 336.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF82DB

    #AF82DB

    oklch(68.5% 0.135 306.4)

  • #B29919

    #B29919

    oklch(68.5% 0.135 96.8)

  • #42B276

    #42B276

    oklch(68.4% 0.135 156.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF82DB

    #AF82DB

    oklch(68.5% 0.135 306.4)

  • #D1872D

    #D1872D

    oklch(68.5% 0.135 66.5)

  • #00B1A5

    #00B1A5

    oklch(68.4% 0.12 186.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF82DB

    #AF82DB

    oklch(68.5% 0.135 306.4)

  • #E0795C

    #E0795C

    oklch(68.6% 0.135 36.6)

  • #84A844

    #84A844

    oklch(68.4% 0.135 126.4)

  • #00ACCA

    #00ACCA

    oklch(68.6% 0.122 216.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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