#AF5DB4

Closest named color: Amethyst (#9B5FC0). oklch(60.6% 0.154 325.1), rgb(175, 93, 180).

Aa

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

About this color

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

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

Values

HEX#AF5DB4
RGBrgb(175, 93, 180)
HSLhsl(297, 37%, 54%)
OKLCHoklch(60.6% 0.154 325.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 #AF5DB4 4.16:1 AA large text Lc -73.8 Content text, not long reading
Black text on #AF5DB4 5.04:1 AA Lc 35.8 Non-text elements, placeholder text
#AF5DB4 text on white 4.16:1 AA large text Lc 68.3 Content text, not long reading
#AF5DB4 text on black 5.04: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

    #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

    #DAB0DC

    oklch(80.8% 0.076 324.8)

  5. Step 400

    400

    #C785CA

    oklch(70.7% 0.122 325.3)

  6. Step 500

    500 (this color)

    #AF5DB4

    oklch(60.6% 0.154 325.1)

  7. Step 600

    600

    #A249A8

    oklch(55.6% 0.168 325.1)

  8. Step 700

    700

    #8B3A90

    oklch(49.2% 0.155 325.3)

  9. Step 800

    800

    #713075

    oklch(42.7% 0.13 325.3)

  10. Step 900

    900

    #5B2C5E

    oklch(37.7% 0.099 325.1)

  11. Step 950

    950

    #361A37

    oklch(27% 0.064 325.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF5DB4 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)#5376B70.148
Deuteranopia (no green cones)#6B80B10.132
Tritanopia (no blue cones)#B367800.091
Achromatopsia (no color)#7C7C7C0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5DB4

    #AF5DB4

    oklch(60.6% 0.154 325.1)

  • #389942

    #389942

    oklch(60.6% 0.154 145.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5DB4

    #AF5DB4

    oklch(60.6% 0.154 325.1)

  • #8A6BD3

    #8A6BD3

    oklch(60.5% 0.154 295.1)

  • #C65486

    #C65486

    oklch(60.6% 0.154 355.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF5DB4

    #AF5DB4

    oklch(60.6% 0.154 325.1)

  • #808B00

    #808B00

    oklch(60.7% 0.138 115.2)

  • #00987E

    #00987E

    oklch(60.7% 0.115 174.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5DB4

    #AF5DB4

    oklch(60.6% 0.154 325.1)

  • #A47B00

    #A47B00

    oklch(60.7% 0.124 85.1)

  • #0093A0

    #0093A0

    oklch(60.6% 0.104 205.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5DB4

    #AF5DB4

    oklch(60.6% 0.154 325.1)

  • #C46500

    #C46500

    oklch(60.7% 0.15 55.3)

  • #389942

    #389942

    oklch(60.6% 0.154 145.1)

  • #008DC4

    #008DC4

    oklch(60.7% 0.129 235.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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