#AF55B7

Closest named color: Amethyst (#9B5FC0). oklch(59.6% 0.17 324.3), rgb(175, 85, 183).

Aa

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

About this color

#AF55B7 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.170 and its hue 324°. 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.80:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.170)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.80:1
White text4.36:1

Values

HEX#AF55B7
RGBrgb(175, 85, 183)
HSLhsl(295, 40%, 53%)
OKLCHoklch(59.6% 0.17 324.3)

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 #AF55B7 4.36:1 AA large text Lc -75.3 Fine for body text
Black text on #AF55B7 4.80:1 AA Lc 34.3 Non-text elements, placeholder text
#AF55B7 text on white 4.36:1 AA large text Lc 69.8 Content text, not long reading
#AF55B7 text on black 4.80:1 AA Lc -31.9 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

    #E9CFEB

    oklch(88.4% 0.047 323.8)

  4. Step 300

    300

    #DCAFDF

    oklch(81% 0.082 324.3)

  5. Step 400

    400

    #C982CF

    oklch(70.6% 0.134 324.1)

  6. Step 500

    500 (this color)

    #AF55B7

    oklch(59.6% 0.17 324.3)

  7. Step 600

    600

    #A543AF

    oklch(55.6% 0.185 323.9)

  8. Step 700

    700

    #8E3396

    oklch(49.1% 0.173 324.4)

  9. Step 800

    800

    #732C7A

    oklch(42.7% 0.142 324)

  10. Step 900

    900

    #5D2962

    oklch(37.7% 0.11 324)

  11. Step 950

    950

    #371939

    oklch(27.1% 0.069 324.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF55B7 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)#4772BA0.166
Deuteranopia (no green cones)#647DB40.146
Tritanopia (no blue cones)#B2627E0.101
Achromatopsia (no color)#7979790.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF55B7

    #AF55B7

    oklch(59.6% 0.17 324.3)

  • #299833

    #299833

    oklch(59.7% 0.171 144.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF55B7

    #AF55B7

    oklch(59.6% 0.17 324.3)

  • #8765D9

    #8765D9

    oklch(59.6% 0.171 294.1)

  • #C84A86

    #C84A86

    oklch(59.6% 0.171 354)

Open the analogous palette in the generator

Split complementary

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

  • #AF55B7

    #AF55B7

    oklch(59.6% 0.17 324.3)

  • #7E8700

    #7E8700

    oklch(59.6% 0.134 114.4)

  • #00957A

    #00957A

    oklch(59.7% 0.114 173.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF55B7

    #AF55B7

    oklch(59.6% 0.17 324.3)

  • #A17800

    #A17800

    oklch(59.7% 0.122 84.6)

  • #00909B

    #00909B

    oklch(59.6% 0.102 204.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF55B7

    #AF55B7

    oklch(59.6% 0.17 324.3)

  • #C16100

    #C16100

    oklch(59.6% 0.15 53.9)

  • #299833

    #299833

    oklch(59.7% 0.171 144.3)

  • #008ABE

    #008ABE

    oklch(59.7% 0.125 234.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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