#AF4DB5

Closest named color: Amethyst (#9B5FC0). oklch(58.5% 0.181 325.3), rgb(175, 77, 181).

Aa

White text reads best on this color (4.61:1).

About this color

#AF4DB5 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.181 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.050 away. White text reads best on it, at 4.61:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.181)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.55:1
White text4.61:1

Values

HEX#AF4DB5
RGBrgb(175, 77, 181)
HSLhsl(297, 41%, 51%)
OKLCHoklch(58.5% 0.181 325.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 #AF4DB5 4.61:1 AA Lc -76.9 Fine for body text
Black text on #AF4DB5 4.55:1 AA Lc 32.6 Non-text elements, placeholder text
#AF4DB5 text on white 4.61:1 AA Lc 71.4 Content text, not long reading
#AF4DB5 text on black 4.55:1 AA Lc -30.2 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 600.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E9CFEA

    oklch(88.4% 0.046 324.8)

  4. Step 300

    300

    #DCAFDE

    oklch(80.9% 0.081 324.9)

  5. Step 400

    400

    #C983CD

    oklch(70.7% 0.13 325)

  6. Step 500

    500

    #BA61BF

    oklch(63.1% 0.165 325.3)

  7. Step 600

    600 (this color)

    #AF4DB5

    oklch(58.5% 0.181 325.3)

  8. Step 700

    700

    #8E3493

    oklch(49.1% 0.169 325.6)

  9. Step 800

    800

    #732D78

    oklch(42.7% 0.139 325)

  10. Step 900

    900

    #5D2960

    oklch(37.6% 0.108 325.4)

  11. Step 950

    950

    #371938

    oklch(27% 0.068 326.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF4DB5 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)#3E6DB80.180
Deuteranopia (no green cones)#6079B20.156
Tritanopia (no blue cones)#B35B7A0.105
Achromatopsia (no color)#7575750.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4DB5

    #AF4DB5

    oklch(58.5% 0.181 325.3)

  • #05962B

    #05962B

    oklch(58.6% 0.181 145.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4DB5

    #AF4DB5

    oklch(58.5% 0.181 325.3)

  • #875ED9

    #875ED9

    oklch(58.5% 0.181 295.6)

  • #C84181

    #C84181

    oklch(58.5% 0.18 355)

Open the analogous palette in the generator

Split complementary

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

  • #AF4DB5

    #AF4DB5

    oklch(58.5% 0.181 325.3)

  • #7A8400

    #7A8400

    oklch(58.5% 0.133 115)

  • #009178

    #009178

    oklch(58.6% 0.111 174.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4DB5

    #AF4DB5

    oklch(58.5% 0.181 325.3)

  • #9C7500

    #9C7500

    oklch(58.5% 0.12 85.2)

  • #008C98

    #008C98

    oklch(58.4% 0.1 205.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4DB5

    #AF4DB5

    oklch(58.5% 0.181 325.3)

  • #BA6000

    #BA6000

    oklch(58.5% 0.144 55.5)

  • #05962B

    #05962B

    oklch(58.6% 0.181 145.3)

  • #0086BB

    #0086BB

    oklch(58.6% 0.125 235.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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