#AF58B3

Closest named color: Amethyst (#9B5FC0). oklch(59.9% 0.162 325.7), rgb(175, 88, 179).

Aa

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

About this color

#AF58B3 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.162 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.041 away. Black text reads best on it, at 4.86:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.162)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.86:1
White text4.31:1

Values

HEX#AF58B3
RGBrgb(175, 88, 179)
HSLhsl(297, 37%, 52%)
OKLCHoklch(59.9% 0.162 325.7)

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 #AF58B3 4.31:1 AA large text Lc -74.9 Content text, not long reading
Black text on #AF58B3 4.86:1 AA Lc 34.7 Non-text elements, placeholder text
#AF58B3 text on white 4.31:1 AA large text Lc 69.4 Content text, not long reading
#AF58B3 text on black 4.86:1 AA Lc -32.3 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

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E9D0E9

    oklch(88.6% 0.043 325.9)

  4. Step 300

    300

    #DCAFDD

    oklch(80.9% 0.08 325.6)

  5. Step 400

    400

    #C984CB

    oklch(70.8% 0.126 325.8)

  6. Step 500

    500 (this color)

    #AF58B3

    oklch(59.9% 0.162 325.7)

  7. Step 600

    600

    #A546AA

    oklch(55.7% 0.176 325.6)

  8. Step 700

    700

    #8D3691

    oklch(49% 0.163 325.9)

  9. Step 800

    800

    #732E76

    oklch(42.8% 0.136 326)

  10. Step 900

    900

    #5D2A5F

    oklch(37.7% 0.105 326)

  11. Step 950

    950

    #371938

    oklch(27% 0.068 326.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF58B3 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)#4E73B60.157
Deuteranopia (no green cones)#687EB00.140
Tritanopia (no blue cones)#B3637D0.095
Achromatopsia (no color)#7A7A7A0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF58B3

    #AF58B3

    oklch(59.9% 0.162 325.7)

  • #2C983D

    #2C983D

    oklch(59.9% 0.162 145.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF58B3

    #AF58B3

    oklch(59.9% 0.162 325.7)

  • #8967D4

    #8967D4

    oklch(59.8% 0.162 295.5)

  • #C64F83

    #C64F83

    oklch(59.8% 0.16 355.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF58B3

    #AF58B3

    oklch(59.9% 0.162 325.7)

  • #7D8900

    #7D8900

    oklch(59.9% 0.137 115.8)

  • #00957D

    #00957D

    oklch(59.8% 0.112 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF58B3

    #AF58B3

    oklch(59.9% 0.162 325.7)

  • #A07900

    #A07900

    oklch(59.8% 0.122 85.9)

  • #00919D

    #00919D

    oklch(59.9% 0.102 205.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF58B3

    #AF58B3

    oklch(59.9% 0.162 325.7)

  • #C06300

    #C06300

    oklch(59.8% 0.147 55.4)

  • #2C983D

    #2C983D

    oklch(59.9% 0.162 145.7)

  • #008AC1

    #008AC1

    oklch(59.9% 0.128 235.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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