#AF5BB2

Closest named color: Amethyst (#9B5FC0). oklch(60.2% 0.156 326), rgb(175, 91, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.156)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.96:1
White text4.23:1

Values

HEX#AF5BB2
RGBrgb(175, 91, 178)
HSLhsl(298, 36%, 53%)
OKLCHoklch(60.2% 0.156 326)

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 #AF5BB2 4.23:1 AA large text Lc -74.3 Content text, not long reading
Black text on #AF5BB2 4.96:1 AA Lc 35.3 Non-text elements, placeholder text
#AF5BB2 text on white 4.23:1 AA large text Lc 68.8 Content text, not long reading
#AF5BB2 text on black 4.96:1 AA Lc -32.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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E8

    oklch(88.5% 0.042 325.9)

  4. Step 300

    300

    #DBB0DB

    oklch(80.9% 0.076 326.3)

  5. Step 400

    400

    #C885C9

    oklch(70.8% 0.122 326.3)

  6. Step 500

    500 (this color)

    #AF5BB2

    oklch(60.2% 0.156 326)

  7. Step 600

    600

    #A348A7

    oklch(55.5% 0.169 325.9)

  8. Step 700

    700

    #8C398F

    oklch(49.2% 0.157 326.3)

  9. Step 800

    800

    #723074

    oklch(42.8% 0.13 326.4)

  10. Step 900

    900

    #5C2B5E

    oklch(37.6% 0.102 325.9)

  11. Step 950

    950

    #361A37

    oklch(27% 0.064 325.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF5BB2 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)#5274B50.150
Deuteranopia (no green cones)#6B7FAF0.134
Tritanopia (no blue cones)#B3657E0.091
Achromatopsia (no color)#7B7B7B0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5BB2

    #AF5BB2

    oklch(60.2% 0.156 326)

  • #329842

    #329842

    oklch(60.1% 0.155 146)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5BB2

    #AF5BB2

    oklch(60.2% 0.156 326)

  • #8B69D2

    #8B69D2

    oklch(60.2% 0.156 296.3)

  • #C65284

    #C65284

    oklch(60.2% 0.156 355.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF5BB2

    #AF5BB2

    oklch(60.2% 0.156 326)

  • #7D8A00

    #7D8A00

    oklch(60.2% 0.138 116.2)

  • #00967E

    #00967E

    oklch(60.1% 0.112 176)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5BB2

    #AF5BB2

    oklch(60.2% 0.156 326)

  • #A17A00

    #A17A00

    oklch(60.1% 0.123 86.1)

  • #00929F

    #00929F

    oklch(60.3% 0.103 205.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5BB2

    #AF5BB2

    oklch(60.2% 0.156 326)

  • #C16500

    #C16500

    oklch(60.3% 0.147 56.2)

  • #329842

    #329842

    oklch(60.1% 0.155 146)

  • #008BC3

    #008BC3

    oklch(60.2% 0.129 235.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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