#AF4DAE

Closest named color: Amethyst (#9B5FC0). oklch(58.1% 0.175 327.9), rgb(175, 77, 174).

Aa

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

About this color

#AF4DAE is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.175 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.053 away. White text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.175)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.49:1
White text4.67:1

Values

HEX#AF4DAE
RGBrgb(175, 77, 174)
HSLhsl(301, 39%, 49%)
OKLCHoklch(58.1% 0.175 327.9)

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 #AF4DAE 4.67:1 AA Lc -77.3 Fine for body text
Black text on #AF4DAE 4.49:1 AA large text Lc 32.2 Non-text elements, placeholder text
#AF4DAE text on white 4.67:1 AA Lc 71.9 Content text, not long reading
#AF4DAE text on black 4.49:1 AA large text Lc -29.8 Dividers and decoration only

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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F2

    oklch(93.7% 0.023 327.9)

  3. Step 200

    200

    #EACFE8

    oklch(88.4% 0.045 328.3)

  4. Step 300

    300

    #DDAFDB

    oklch(80.9% 0.079 327.7)

  5. Step 400

    400

    #CB83C8

    oklch(70.7% 0.126 328.3)

  6. Step 500

    500

    #BC61BA

    oklch(63.1% 0.161 328.1)

  7. Step 600

    600 (this color)

    #AF4DAE

    oklch(58.1% 0.175 327.9)

  8. Step 700

    700

    #8F368E

    oklch(49.2% 0.162 328.1)

  9. Step 800

    800

    #742E73

    oklch(42.7% 0.133 328.2)

  10. Step 900

    900

    #5E2A5D

    oklch(37.7% 0.104 328.1)

  11. Step 950

    950

    #371937

    oklch(27% 0.067 327.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF4DAE 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)#436CB10.176
Deuteranopia (no green cones)#6379AB0.154
Tritanopia (no blue cones)#B458760.098
Achromatopsia (no color)#7474740.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4DAE

    #AF4DAE

    oklch(58.1% 0.175 327.9)

  • #009439

    #009439

    oklch(58.1% 0.169 147.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4DAE

    #AF4DAE

    oklch(58.1% 0.175 327.9)

  • #895DD3

    #895DD3

    oklch(58.1% 0.175 297.9)

  • #C6427A

    #C6427A

    oklch(58% 0.175 357.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF4DAE

    #AF4DAE

    oklch(58.1% 0.175 327.9)

  • #748400

    #748400

    oklch(58% 0.135 117.9)

  • #008F7B

    #008F7B

    oklch(58.2% 0.107 178.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4DAE

    #AF4DAE

    oklch(58.1% 0.175 327.9)

  • #987500

    #987500

    oklch(58.1% 0.119 87.7)

  • #008B99

    #008B99

    oklch(58.2% 0.1 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4DAE

    #AF4DAE

    oklch(58.1% 0.175 327.9)

  • #B66200

    #B66200

    oklch(58.2% 0.139 58.2)

  • #009439

    #009439

    oklch(58.1% 0.169 147.9)

  • #0084BD

    #0084BD

    oklch(58.2% 0.128 237.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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