#AF87C2

Closest named color: Wisteria (#A87DC2). oklch(68.2% 0.095 314.6), rgb(175, 135, 194).

Aa

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

About this color

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

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

Values

HEX#AF87C2
RGBrgb(175, 135, 194)
HSLhsl(281, 33%, 65%)
OKLCHoklch(68.2% 0.095 314.6)

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 #AF87C2 2.97:1 Fails Lc -61.6 Content text, not long reading
Black text on #AF87C2 7.06:1 AAA Lc 47.8 Large or bold text, headings
#AF87C2 text on white 2.97:1 Fails Lc 56.2 Large or bold text, headings
#AF87C2 text on black 7.06:1 AAA Lc -45.6 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E1D3E9

    oklch(88.5% 0.033 313.5)

  4. Step 300

    300

    #CFB6DC

    oklch(81% 0.059 314.1)

  5. Step 400

    400 (this color)

    #AF87C2

    oklch(68.2% 0.095 314.6)

  6. Step 500

    500

    #A572BC

    oklch(63.2% 0.121 314.8)

  7. Step 600

    600

    #9059A8

    oklch(55.7% 0.132 314.9)

  8. Step 700

    700

    #7A4890

    oklch(49% 0.123 314.7)

  9. Step 800

    800

    #633C75

    oklch(42.7% 0.101 314.3)

  10. Step 900

    900

    #51345F

    oklch(37.8% 0.079 314.1)

  11. Step 950

    950

    #301E37

    oklch(26.9% 0.051 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF87C2 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)#7E93C40.074
Deuteranopia (no green cones)#8797C00.069
Tritanopia (no blue cones)#AE8E9C0.065
Achromatopsia (no color)#9696960.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF87C2

    #AF87C2

    oklch(68.2% 0.095 314.6)

  • #80A669

    #80A669

    oklch(68.2% 0.095 134.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF87C2

    #AF87C2

    oklch(68.2% 0.095 314.6)

  • #9291D2

    #9291D2

    oklch(68.3% 0.095 284.3)

  • #C381A7

    #C381A7

    oklch(68.2% 0.095 344.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF87C2

    #AF87C2

    oklch(68.2% 0.095 314.6)

  • #A29C53

    #A29C53

    oklch(68.2% 0.095 104.5)

  • #5AAC8A

    #5AAC8A

    oklch(68.3% 0.096 164.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF87C2

    #AF87C2

    oklch(68.2% 0.095 314.6)

  • #BC9052

    #BC9052

    oklch(68.2% 0.096 74.5)

  • #42ABAB

    #42ABAB

    oklch(68.1% 0.095 195.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF87C2

    #AF87C2

    oklch(68.2% 0.095 314.6)

  • #CA8667

    #CA8667

    oklch(68.2% 0.095 45.2)

  • #80A669

    #80A669

    oklch(68.2% 0.095 134.3)

  • #4EA5C5

    #4EA5C5

    oklch(68.1% 0.095 225)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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