#AF5FAE

Closest named color: Soft Purple (#A66FB5). oklch(60.6% 0.145 327.6), rgb(175, 95, 174).

Aa

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

About this color

#AF5FAE is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.145 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.038 away. Black text reads best on it, at 5.07:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.145)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.07:1
White text4.14:1

Values

HEX#AF5FAE
RGBrgb(175, 95, 174)
HSLhsl(301, 33%, 53%)
OKLCHoklch(60.6% 0.145 327.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 #AF5FAE 4.14:1 AA large text Lc -73.7 Content text, not long reading
Black text on #AF5FAE 5.07:1 AA Lc 35.9 Non-text elements, placeholder text
#AF5FAE text on white 4.14:1 AA large text Lc 68.2 Content text, not long reading
#AF5FAE text on black 5.07:1 AA Lc -33.5 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 500.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E8D0E7

    oklch(88.4% 0.041 327.2)

  4. Step 300

    300

    #DAB1D8

    oklch(80.9% 0.07 327.8)

  5. Step 400

    400

    #C787C5

    oklch(70.8% 0.113 327.8)

  6. Step 500

    500 (this color)

    #AF5FAE

    oklch(60.6% 0.145 327.6)

  7. Step 600

    600

    #A24CA2

    oklch(55.7% 0.157 327.4)

  8. Step 700

    700

    #8B3C8A

    oklch(49.1% 0.147 328)

  9. Step 800

    800

    #713270

    oklch(42.7% 0.122 328.1)

  10. Step 900

    900

    #5B2D5B

    oklch(37.7% 0.094 327.2)

  11. Step 950

    950

    #361B35

    oklch(27.1% 0.06 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF5FAE 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)#5976B10.140
Deuteranopia (no green cones)#6F80AC0.125
Tritanopia (no blue cones)#B4677E0.083
Achromatopsia (no color)#7D7D7D0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5FAE

    #AF5FAE

    oklch(60.6% 0.145 327.6)

  • #37994C

    #37994C

    oklch(60.7% 0.145 147.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5FAE

    #AF5FAE

    oklch(60.6% 0.145 327.6)

  • #8D6CCD

    #8D6CCD

    oklch(60.6% 0.145 297.6)

  • #C45882

    #C45882

    oklch(60.7% 0.145 357.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF5FAE

    #AF5FAE

    oklch(60.6% 0.145 327.6)

  • #7C8C00

    #7C8C00

    oklch(60.6% 0.14 117.5)

  • #009782

    #009782

    oklch(60.5% 0.111 178.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5FAE

    #AF5FAE

    oklch(60.6% 0.145 327.6)

  • #A17C00

    #A17C00

    oklch(60.5% 0.124 87.6)

  • #0093A2

    #0093A2

    oklch(60.6% 0.104 207.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5FAE

    #AF5FAE

    oklch(60.6% 0.145 327.6)

  • #C16702

    #C16702

    oklch(60.6% 0.146 57.2)

  • #37994C

    #37994C

    oklch(60.7% 0.145 147.6)

  • #008CC8

    #008CC8

    oklch(60.7% 0.134 237.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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