#AF82CC

Closest named color: Wisteria (#A87DC2). oklch(67.8% 0.117 311.4), rgb(175, 130, 204).

Aa

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

About this color

#AF82CC is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.117 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.021 away. Black text reads best on it, at 6.88:1.

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

Values

HEX#AF82CC
RGBrgb(175, 130, 204)
HSLhsl(276, 42%, 65%)
OKLCHoklch(67.8% 0.117 311.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 #AF82CC 3.04:1 AA large text Lc -62.6 Content text, not long reading
Black text on #AF82CC 6.88:1 AA Lc 46.8 Large or bold text, headings
#AF82CC text on white 3.04:1 AA large text Lc 57.2 Large or bold text, headings
#AF82CC text on black 6.88: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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EEE6F4

    oklch(93.5% 0.021 311.1)

  3. Step 200

    200

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D0B4E4

    oklch(81% 0.073 311)

  5. Step 400

    400 (this color)

    #AF82CC

    oklch(67.8% 0.117 311.4)

  6. Step 500

    500

    #A76CCA

    oklch(63.1% 0.149 311.7)

  7. Step 600

    600

    #9252B7

    oklch(55.7% 0.161 311.5)

  8. Step 700

    700

    #7C429E

    oklch(49.2% 0.15 311.2)

  9. Step 800

    800

    #653780

    oklch(42.8% 0.124 311.3)

  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

#AF82CC 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)#7591CF0.088
Deuteranopia (no green cones)#7F95CA0.082
Tritanopia (no blue cones)#AC8C9E0.081
Achromatopsia (no color)#9494940.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF82CC

    #AF82CC

    oklch(67.8% 0.117 311.4)

  • #7DA657

    #7DA657

    oklch(67.7% 0.117 131.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF82CC

    #AF82CC

    oklch(67.8% 0.117 311.4)

  • #8C8EDE

    #8C8EDE

    oklch(67.8% 0.117 281.7)

  • #C87AAC

    #C87AAC

    oklch(67.8% 0.116 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF82CC

    #AF82CC

    oklch(67.8% 0.117 311.4)

  • #A7993A

    #A7993A

    oklch(67.7% 0.116 100.9)

  • #49AE80

    #49AE80

    oklch(67.9% 0.117 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF82CC

    #AF82CC

    oklch(67.8% 0.117 311.4)

  • #C48A3D

    #C48A3D

    oklch(67.7% 0.116 71.1)

  • #00AEA9

    #00AEA9

    oklch(67.8% 0.117 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF82CC

    #AF82CC

    oklch(67.8% 0.117 311.4)

  • #D47E5D

    #D47E5D

    oklch(67.9% 0.117 41.5)

  • #7DA657

    #7DA657

    oklch(67.7% 0.117 131.4)

  • #25A7CA

    #25A7CA

    oklch(67.7% 0.116 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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