#AF5FBB

Closest named color: Amethyst (#9B5FC0). oklch(61.3% 0.158 322.2), rgb(175, 95, 187).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.158)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text5.17:1
White text4.05:1

Values

HEX#AF5FBB
RGBrgb(175, 95, 187)
HSLhsl(292, 40%, 55%)
OKLCHoklch(61.3% 0.158 322.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 #AF5FBB 4.05:1 AA large text Lc -72.9 Content text, not long reading
Black text on #AF5FBB 5.17:1 AA Lc 36.7 Non-text elements, placeholder text
#AF5FBB text on white 4.05:1 AA large text Lc 67.4 Content text, not long reading
#AF5FBB text on black 5.17:1 AA Lc -34.2 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

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E7D0EA

    oklch(88.4% 0.043 322.3)

  4. Step 300

    300

    #D9B0DE

    oklch(80.8% 0.078 322.7)

  5. Step 400

    400

    #C586CE

    oklch(70.8% 0.123 322.3)

  6. Step 500

    500 (this color)

    #AF5FBB

    oklch(61.3% 0.158 322.2)

  7. Step 600

    600

    #A049AD

    oklch(55.6% 0.171 322.3)

  8. Step 700

    700

    #893995

    oklch(49.1% 0.161 322.3)

  9. Step 800

    800

    #6F3079

    oklch(42.6% 0.133 322)

  10. Step 900

    900

    #5A2C61

    oklch(37.7% 0.102 322.2)

  11. Step 950

    950

    #351A39

    oklch(27% 0.066 322.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF5FBB 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)#5278BE0.147
Deuteranopia (no green cones)#6981B80.132
Tritanopia (no blue cones)#B16B840.097
Achromatopsia (no color)#7E7E7E0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5FBB

    #AF5FBB

    oklch(61.3% 0.158 322.2)

  • #429B3B

    #429B3B

    oklch(61.4% 0.158 142.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5FBB

    #AF5FBB

    oklch(61.3% 0.158 322.2)

  • #886ED9

    #886ED9

    oklch(61.2% 0.158 292.3)

  • #C8558D

    #C8558D

    oklch(61.2% 0.158 352.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF5FBB

    #AF5FBB

    oklch(61.3% 0.158 322.2)

  • #868B00

    #868B00

    oklch(61.2% 0.136 112.3)

  • #009A7C

    #009A7C

    oklch(61.1% 0.118 172.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5FBB

    #AF5FBB

    oklch(61.3% 0.158 322.2)

  • #A97B00

    #A97B00

    oklch(61.2% 0.126 82.3)

  • #00969F

    #00969F

    oklch(61.3% 0.104 202.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5FBB

    #AF5FBB

    oklch(61.3% 0.158 322.2)

  • #CA6300

    #CA6300

    oklch(61.2% 0.157 52.5)

  • #429B3B

    #429B3B

    oklch(61.4% 0.158 142.2)

  • #0090C2

    #0090C2

    oklch(61.4% 0.125 232)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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