#AF5ABF

Closest named color: Amethyst (#9B5FC0). oklch(60.8% 0.17 321.1), rgb(175, 90, 191).

Aa

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

About this color

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

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

Values

HEX#AF5ABF
RGBrgb(175, 90, 191)
HSLhsl(290, 44%, 55%)
OKLCHoklch(60.8% 0.17 321.1)

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 #AF5ABF 4.16:1 AA large text Lc -73.8 Content text, not long reading
Black text on #AF5ABF 5.03:1 AA Lc 35.8 Non-text elements, placeholder text
#AF5ABF text on white 4.16:1 AA large text Lc 68.3 Content text, not long reading
#AF5ABF text on black 5.03:1 AA Lc -33.4 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

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E8D0EC

    oklch(88.6% 0.046 321.4)

  4. Step 300

    300

    #DAAFE2

    oklch(80.9% 0.084 321)

  5. Step 400

    400

    #C683D3

    oklch(70.6% 0.134 320.9)

  6. Step 500

    500 (this color)

    #AF5ABF

    oklch(60.8% 0.17 321.1)

  7. Step 600

    600

    #A244B3

    oklch(55.6% 0.185 321.2)

  8. Step 700

    700

    #8A359A

    oklch(49% 0.172 321)

  9. Step 800

    800

    #702D7D

    oklch(42.6% 0.142 320.8)

  10. Step 900

    900

    #5B2A65

    oklch(37.8% 0.111 320.6)

  11. Step 950

    950

    #36193B

    oklch(27.1% 0.071 321.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF5ABF 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)#4976C20.160
Deuteranopia (no green cones)#647FBC0.141
Tritanopia (no blue cones)#B168840.105
Achromatopsia (no color)#7C7C7C0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5ABF

    #AF5ABF

    oklch(60.8% 0.17 321.1)

  • #3C9A2D

    #3C9A2D

    oklch(60.8% 0.17 141.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5ABF

    #AF5ABF

    oklch(60.8% 0.17 321.1)

  • #856BDF

    #856BDF

    oklch(60.8% 0.17 290.8)

  • #CA4F8F

    #CA4F8F

    oklch(60.8% 0.17 351)

Open the analogous palette in the generator

Split complementary

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

  • #AF5ABF

    #AF5ABF

    oklch(60.8% 0.17 321.1)

  • #868900

    #868900

    oklch(60.7% 0.134 111.3)

  • #009979

    #009979

    oklch(60.8% 0.119 171.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5ABF

    #AF5ABF

    oklch(60.8% 0.17 321.1)

  • #A87900

    #A87900

    oklch(60.7% 0.125 81.3)

  • #00949C

    #00949C

    oklch(60.7% 0.103 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5ABF

    #AF5ABF

    oklch(60.8% 0.17 321.1)

  • #CA6000

    #CA6000

    oklch(60.8% 0.159 50.9)

  • #3C9A2D

    #3C9A2D

    oklch(60.8% 0.17 141.1)

  • #008EBE

    #008EBE

    oklch(60.7% 0.123 231.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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