#AF82CD

Closest named color: Wisteria (#A87DC2). oklch(67.8% 0.118 311), rgb(175, 130, 205).

Aa

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

About this color

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

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

Values

HEX#AF82CD
RGBrgb(175, 130, 205)
HSLhsl(276, 43%, 66%)
OKLCHoklch(67.8% 0.118 311)

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 #AF82CD 3.04:1 AA large text Lc -62.5 Content text, not long reading
Black text on #AF82CD 6.89:1 AA Lc 46.9 Large or bold text, headings
#AF82CD text on white 3.04:1 AA large text Lc 57.2 Large or bold text, headings
#AF82CD text on black 6.89:1 AA Lc -44.6 Non-text elements, placeholder text

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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E2D2EE

    oklch(88.5% 0.042 310.9)

  4. Step 300

    300

    #D0B4E4

    oklch(81% 0.073 311)

  5. Step 400

    400 (this color)

    #AF82CD

    oklch(67.8% 0.118 311)

  6. Step 500

    500

    #A66CCC

    oklch(63.1% 0.151 310.6)

  7. Step 600

    600

    #9251B8

    oklch(55.6% 0.164 311.3)

  8. Step 700

    700

    #7C419F

    oklch(49.1% 0.153 311)

  9. Step 800

    800

    #653681

    oklch(42.7% 0.127 311.1)

  10. Step 900

    900

    #523067

    oklch(37.7% 0.098 311.1)

  11. Step 950

    950

    #301D3C

    oklch(27% 0.061 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF82CD 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)#7491D00.089
Deuteranopia (no green cones)#7E95CB0.083
Tritanopia (no blue cones)#AC8C9E0.083
Achromatopsia (no color)#9494940.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF82CD

    #AF82CD

    oklch(67.8% 0.118 311)

  • #7EA656

    #7EA656

    oklch(67.7% 0.117 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF82CD

    #AF82CD

    oklch(67.8% 0.118 311)

  • #8B8EDF

    #8B8EDF

    oklch(67.8% 0.119 281.1)

  • #C87AAD

    #C87AAD

    oklch(67.8% 0.116 341.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF82CD

    #AF82CD

    oklch(67.8% 0.118 311)

  • #A89938

    #A89938

    oklch(67.8% 0.117 100.5)

  • #48AE80

    #48AE80

    oklch(67.8% 0.118 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF82CD

    #AF82CD

    oklch(67.8% 0.118 311)

  • #C58A3C

    #C58A3C

    oklch(67.8% 0.118 70.8)

  • #00AEA9

    #00AEA9

    oklch(67.8% 0.117 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF82CD

    #AF82CD

    oklch(67.8% 0.118 311)

  • #D47D5D

    #D47D5D

    oklch(67.7% 0.118 40.8)

  • #7EA656

    #7EA656

    oklch(67.7% 0.117 130.8)

  • #21A8CB

    #21A8CB

    oklch(67.9% 0.118 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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