#AF5FBC

Closest named color: Amethyst (#9B5FC0). oklch(61.3% 0.159 321.9), rgb(175, 95, 188).

Aa

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

About this color

#AF5FBC is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.159 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.18:1.

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

Values

HEX#AF5FBC
RGBrgb(175, 95, 188)
HSLhsl(292, 41%, 55%)
OKLCHoklch(61.3% 0.159 321.9)

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 #AF5FBC 4.04:1 AA large text Lc -72.9 Content text, not long reading
Black text on #AF5FBC 5.18:1 AA Lc 36.7 Non-text elements, placeholder text
#AF5FBC text on white 4.04:1 AA large text Lc 67.4 Content text, not long reading
#AF5FBC text on black 5.18:1 AA Lc -34.3 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

    #D9B0DF

    oklch(80.9% 0.079 322)

  5. Step 400

    400

    #C585CF

    oklch(70.7% 0.126 322)

  6. Step 500

    500 (this color)

    #AF5FBC

    oklch(61.3% 0.159 321.9)

  7. Step 600

    600

    #A049AE

    oklch(55.6% 0.172 321.9)

  8. Step 700

    700

    #893996

    oklch(49.1% 0.162 321.8)

  9. Step 800

    800

    #6F3079

    oklch(42.6% 0.133 322)

  10. Step 900

    900

    #5A2C62

    oklch(37.8% 0.103 321.5)

  11. Step 950

    950

    #351A39

    oklch(27% 0.066 322.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF5FBC 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)#5178BF0.148
Deuteranopia (no green cones)#6981B90.132
Tritanopia (no blue cones)#B16B850.097
Achromatopsia (no color)#7E7E7E0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5FBC

    #AF5FBC

    oklch(61.3% 0.159 321.9)

  • #429B3A

    #429B3A

    oklch(61.4% 0.159 142)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5FBC

    #AF5FBC

    oklch(61.3% 0.159 321.9)

  • #886EDA

    #886EDA

    oklch(61.3% 0.159 292.1)

  • #C8558E

    #C8558E

    oklch(61.3% 0.159 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF5FBC

    #AF5FBC

    oklch(61.3% 0.159 321.9)

  • #878B00

    #878B00

    oklch(61.3% 0.135 111.8)

  • #009B7C

    #009B7C

    oklch(61.4% 0.119 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5FBC

    #AF5FBC

    oklch(61.3% 0.159 321.9)

  • #AA7B00

    #AA7B00

    oklch(61.4% 0.127 81.7)

  • #00969F

    #00969F

    oklch(61.3% 0.104 202.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5FBC

    #AF5FBC

    oklch(61.3% 0.159 321.9)

  • #CB6200

    #CB6200

    oklch(61.2% 0.158 51.7)

  • #429B3A

    #429B3A

    oklch(61.4% 0.159 142)

  • #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 #AF5FBC, closest first.

Similar named colors

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

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