#AF5BB5

Closest named color: Amethyst (#9B5FC0). oklch(60.4% 0.159 324.8), rgb(175, 91, 181).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.159)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.98:1
White text4.21:1

Values

HEX#AF5BB5
RGBrgb(175, 91, 181)
HSLhsl(296, 38%, 53%)
OKLCHoklch(60.4% 0.159 324.8)

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 #AF5BB5 4.21:1 AA large text Lc -74.2 Content text, not long reading
Black text on #AF5BB5 4.98:1 AA Lc 35.4 Non-text elements, placeholder text
#AF5BB5 text on white 4.21:1 AA large text Lc 68.7 Content text, not long reading
#AF5BB5 text on black 4.98:1 AA Lc -33.0 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

    #E8D0E9

    oklch(88.5% 0.043 324.7)

  4. Step 300

    300

    #DBB0DD

    oklch(81% 0.078 324.8)

  5. Step 400

    400

    #C785CB

    oklch(70.7% 0.123 324.8)

  6. Step 500

    500 (this color)

    #AF5BB5

    oklch(60.4% 0.159 324.8)

  7. Step 600

    600

    #A347AA

    oklch(55.6% 0.173 324.8)

  8. Step 700

    700

    #8B3892

    oklch(49.1% 0.16 324.5)

  9. Step 800

    800

    #712F76

    oklch(42.6% 0.133 324.8)

  10. Step 900

    900

    #5C2B5F

    oklch(37.7% 0.103 325.2)

  11. Step 950

    950

    #361A38

    oklch(27.1% 0.065 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF5BB5 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)#5075B80.152
Deuteranopia (no green cones)#697FB20.136
Tritanopia (no blue cones)#B266800.093
Achromatopsia (no color)#7B7B7B0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5BB5

    #AF5BB5

    oklch(60.4% 0.159 324.8)

  • #35993E

    #35993E

    oklch(60.4% 0.159 144.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5BB5

    #AF5BB5

    oklch(60.4% 0.159 324.8)

  • #896AD5

    #896AD5

    oklch(60.4% 0.158 294.5)

  • #C75286

    #C75286

    oklch(60.5% 0.158 355.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF5BB5

    #AF5BB5

    oklch(60.4% 0.159 324.8)

  • #808A00

    #808A00

    oklch(60.4% 0.137 114.8)

  • #00977D

    #00977D

    oklch(60.4% 0.114 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5BB5

    #AF5BB5

    oklch(60.4% 0.159 324.8)

  • #A37A00

    #A37A00

    oklch(60.3% 0.124 84.9)

  • #00939E

    #00939E

    oklch(60.5% 0.103 204.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5BB5

    #AF5BB5

    oklch(60.4% 0.159 324.8)

  • #C36400

    #C36400

    oklch(60.4% 0.15 55)

  • #35993E

    #35993E

    oklch(60.4% 0.159 144.7)

  • #008CC2

    #008CC2

    oklch(60.4% 0.128 234.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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