#AF58A4

Closest named color: Soft Purple (#A66FB5). oklch(59.1% 0.148 332.2), rgb(175, 88, 164).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.148)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text4.75:1
White text4.41:1

Values

HEX#AF58A4
RGBrgb(175, 88, 164)
HSLhsl(308, 35%, 52%)
OKLCHoklch(59.1% 0.148 332.2)

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 #AF58A4 4.41:1 AA large text Lc -75.7 Fine for body text
Black text on #AF58A4 4.75:1 AA Lc 33.9 Non-text elements, placeholder text
#AF58A4 text on white 4.41:1 AA large text Lc 70.2 Content text, not long reading
#AF58A4 text on black 4.75:1 AA Lc -31.4 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 600.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E9D1E4

    oklch(88.6% 0.037 332.9)

  4. Step 300

    300

    #DBB1D4

    oklch(80.8% 0.067 331.9)

  5. Step 400

    400

    #C887BE

    oklch(70.7% 0.107 332.2)

  6. Step 500

    500

    #B868AE

    oklch(63.1% 0.136 331.8)

  7. Step 600

    600 (this color)

    #AF58A4

    oklch(59.1% 0.148 332.2)

  8. Step 700

    700

    #8C3E83

    oklch(49.2% 0.138 332)

  9. Step 800

    800

    #72346A

    oklch(42.8% 0.113 332.5)

  10. Step 900

    900

    #5C2E56

    oklch(37.7% 0.088 332.2)

  11. Step 950

    950

    #361B32

    oklch(26.9% 0.056 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF58A4 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)#5670A70.148
Deuteranopia (no green cones)#6E7CA10.133
Tritanopia (no blue cones)#B55E760.078
Achromatopsia (no color)#7878780.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF58A4

    #AF58A4

    oklch(59.1% 0.148 332.2)

  • #17964F

    #17964F

    oklch(59.2% 0.149 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF58A4

    #AF58A4

    oklch(59.1% 0.148 332.2)

  • #8F65C6

    #8F65C6

    oklch(59.2% 0.148 302.1)

  • #C25276

    #C25276

    oklch(59.2% 0.147 2.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF58A4

    #AF58A4

    oklch(59.1% 0.148 332.2)

  • #6F8A00

    #6F8A00

    oklch(59.1% 0.144 122.4)

  • #009283

    #009283

    oklch(59.2% 0.106 182.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF58A4

    #AF58A4

    oklch(59.1% 0.148 332.2)

  • #977A00

    #977A00

    oklch(59% 0.121 92.1)

  • #008DA1

    #008DA1

    oklch(59.1% 0.103 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF58A4

    #AF58A4

    oklch(59.1% 0.148 332.2)

  • #B56800

    #B56800

    oklch(59.1% 0.136 62.5)

  • #17964F

    #17964F

    oklch(59.2% 0.149 152.1)

  • #0085C9

    #0085C9

    oklch(59.1% 0.14 242.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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