#AF5CBE

Closest named color: Amethyst (#9B5FC0). oklch(61% 0.166 321.3), rgb(175, 92, 190).

Aa

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

About this color

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

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

Values

HEX#AF5CBE
RGBrgb(175, 92, 190)
HSLhsl(291, 43%, 55%)
OKLCHoklch(61% 0.166 321.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 #AF5CBE 4.11:1 AA large text Lc -73.4 Content text, not long reading
Black text on #AF5CBE 5.09:1 AA Lc 36.2 Non-text elements, placeholder text
#AF5CBE text on white 4.11:1 AA large text Lc 67.9 Content text, not long reading
#AF5CBE text on black 5.09:1 AA Lc -33.8 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

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E7D0EB

    oklch(88.5% 0.044 321.2)

  4. Step 300

    300

    #D9B0E1

    oklch(80.9% 0.081 320.8)

  5. Step 400

    400

    #C584D1

    oklch(70.6% 0.13 321.2)

  6. Step 500

    500 (this color)

    #AF5CBE

    oklch(61% 0.166 321.3)

  7. Step 600

    600

    #A146B1

    oklch(55.6% 0.18 321.4)

  8. Step 700

    700

    #8A3798

    oklch(49.1% 0.167 321.6)

  9. Step 800

    800

    #702E7C

    oklch(42.7% 0.14 321.2)

  10. Step 900

    900

    #5B2A64

    oklch(37.7% 0.11 321.2)

  11. Step 950

    950

    #351A3A

    oklch(27% 0.067 321.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF5CBE 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)#4C77C10.155
Deuteranopia (no green cones)#6680BB0.137
Tritanopia (no blue cones)#B169840.103
Achromatopsia (no color)#7D7D7D0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5CBE

    #AF5CBE

    oklch(61% 0.166 321.3)

  • #3F9A32

    #3F9A32

    oklch(60.9% 0.165 141.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5CBE

    #AF5CBE

    oklch(61% 0.166 321.3)

  • #866CDD

    #866CDD

    oklch(60.9% 0.166 291.3)

  • #C9518F

    #C9518F

    oklch(60.9% 0.166 351)

Open the analogous palette in the generator

Split complementary

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

  • #AF5CBE

    #AF5CBE

    oklch(61% 0.166 321.3)

  • #878A00

    #878A00

    oklch(61% 0.134 111.3)

  • #009A7A

    #009A7A

    oklch(61.1% 0.119 171.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5CBE

    #AF5CBE

    oklch(61% 0.166 321.3)

  • #A97A00

    #A97A00

    oklch(61% 0.126 81.5)

  • #00959D

    #00959D

    oklch(61% 0.104 201.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5CBE

    #AF5CBE

    oklch(61% 0.166 321.3)

  • #CA6100

    #CA6100

    oklch(60.9% 0.158 51.4)

  • #3F9A32

    #3F9A32

    oklch(60.9% 0.165 141.3)

  • #008FBF

    #008FBF

    oklch(61% 0.123 231.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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