#AF5DB6

Closest named color: Amethyst (#9B5FC0). oklch(60.7% 0.156 324.3), rgb(175, 93, 182).

Aa

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

About this color

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

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

Values

HEX#AF5DB6
RGBrgb(175, 93, 182)
HSLhsl(295, 38%, 54%)
OKLCHoklch(60.7% 0.156 324.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 #AF5DB6 4.14:1 AA large text Lc -73.7 Content text, not long reading
Black text on #AF5DB6 5.06:1 AA Lc 35.9 Non-text elements, placeholder text
#AF5DB6 text on white 4.14:1 AA large text Lc 68.2 Content text, not long reading
#AF5DB6 text on black 5.06:1 AA Lc -33.5 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

    #E8D0E9

    oklch(88.5% 0.043 324.7)

  4. Step 300

    300

    #DAB0DD

    oklch(80.9% 0.077 324.1)

  5. Step 400

    400

    #C685CB

    oklch(70.6% 0.122 324.3)

  6. Step 500

    500 (this color)

    #AF5DB6

    oklch(60.7% 0.156 324.3)

  7. Step 600

    600

    #A249AA

    oklch(55.7% 0.17 324.3)

  8. Step 700

    700

    #8A3992

    oklch(49% 0.158 324)

  9. Step 800

    800

    #713076

    oklch(42.7% 0.131 324.7)

  10. Step 900

    900

    #5B2C5F

    oklch(37.7% 0.1 324.3)

  11. Step 950

    950

    #361A38

    oklch(27.1% 0.065 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF5DB6 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)#5276B90.149
Deuteranopia (no green cones)#6A80B30.133
Tritanopia (no blue cones)#B268810.093
Achromatopsia (no color)#7C7C7C0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5DB6

    #AF5DB6

    oklch(60.7% 0.156 324.3)

  • #3A993F

    #3A993F

    oklch(60.6% 0.156 144.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5DB6

    #AF5DB6

    oklch(60.7% 0.156 324.3)

  • #8A6CD5

    #8A6CD5

    oklch(60.8% 0.155 294.5)

  • #C75488

    #C75488

    oklch(60.8% 0.156 354.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF5DB6

    #AF5DB6

    oklch(60.7% 0.156 324.3)

  • #828B00

    #828B00

    oklch(60.8% 0.137 114.3)

  • #00987D

    #00987D

    oklch(60.6% 0.115 174.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5DB6

    #AF5DB6

    oklch(60.7% 0.156 324.3)

  • #A57B00

    #A57B00

    oklch(60.8% 0.125 84.5)

  • #00949F

    #00949F

    oklch(60.8% 0.104 204.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5DB6

    #AF5DB6

    oklch(60.7% 0.156 324.3)

  • #C56400

    #C56400

    oklch(60.7% 0.151 54.4)

  • #3A993F

    #3A993F

    oklch(60.6% 0.156 144.2)

  • #008DC3

    #008DC3

    oklch(60.7% 0.128 234.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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