#AF58BA

Closest named color: Amethyst (#9B5FC0). oklch(60.2% 0.168 323), rgb(175, 88, 186).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.168)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.92:1
White text4.26:1

Values

HEX#AF58BA
RGBrgb(175, 88, 186)
HSLhsl(293, 42%, 54%)
OKLCHoklch(60.2% 0.168 323)

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 #AF58BA 4.26:1 AA large text Lc -74.5 Content text, not long reading
Black text on #AF58BA 4.92:1 AA Lc 35.1 Non-text elements, placeholder text
#AF58BA text on white 4.26:1 AA large text Lc 69.0 Content text, not long reading
#AF58BA text on black 4.92:1 AA Lc -32.7 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E8D0EB

    oklch(88.5% 0.045 322.5)

  4. Step 300

    300

    #DBAFE0

    oklch(80.9% 0.083 322.9)

  5. Step 400

    400

    #C883D0

    oklch(70.7% 0.132 323.1)

  6. Step 500

    500 (this color)

    #AF58BA

    oklch(60.2% 0.168 323)

  7. Step 600

    600

    #A444B0

    oklch(55.7% 0.184 323.1)

  8. Step 700

    700

    #8C3597

    oklch(49.1% 0.17 323)

  9. Step 800

    800

    #722D7B

    oklch(42.8% 0.141 322.9)

  10. Step 900

    900

    #5C2963

    oklch(37.6% 0.111 322.7)

  11. Step 950

    950

    #36193A

    oklch(27% 0.07 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF58BA 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)#4974BD0.161
Deuteranopia (no green cones)#657EB70.142
Tritanopia (no blue cones)#B265810.101
Achromatopsia (no color)#7B7B7B0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF58BA

    #AF58BA

    oklch(60.2% 0.168 323)

  • #339932

    #339932

    oklch(60.3% 0.169 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF58BA

    #AF58BA

    oklch(60.2% 0.168 323)

  • #8768DB

    #8768DB

    oklch(60.2% 0.169 293.1)

  • #C94D89

    #C94D89

    oklch(60.2% 0.169 353.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF58BA

    #AF58BA

    oklch(60.2% 0.168 323)

  • #828800

    #828800

    oklch(60.1% 0.134 112.9)

  • #00977A

    #00977A

    oklch(60.3% 0.116 172.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF58BA

    #AF58BA

    oklch(60.2% 0.168 323)

  • #A47900

    #A47900

    oklch(60.3% 0.124 83.6)

  • #00929C

    #00929C

    oklch(60.1% 0.102 203.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF58BA

    #AF58BA

    oklch(60.2% 0.168 323)

  • #C56100

    #C56100

    oklch(60.2% 0.153 52.8)

  • #339932

    #339932

    oklch(60.3% 0.169 143)

  • #008CBF

    #008CBF

    oklch(60.2% 0.125 233.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF58BA.

Similar named colors

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

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