#AF4FB6

Closest named color: Amethyst (#9B5FC0). oklch(58.8% 0.179 324.9), rgb(175, 79, 182).

Aa

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

About this color

#AF4FB6 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.179 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.047 away. Black text reads best on it, at 4.61:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.179)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.61:1
White text4.54:1

Values

HEX#AF4FB6
RGBrgb(175, 79, 182)
HSLhsl(296, 41%, 51%)
OKLCHoklch(58.8% 0.179 324.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 #AF4FB6 4.54:1 AA Lc -76.5 Fine for body text
Black text on #AF4FB6 4.61:1 AA Lc 33.1 Non-text elements, placeholder text
#AF4FB6 text on white 4.54:1 AA Lc 71.0 Content text, not long reading
#AF4FB6 text on black 4.61:1 AA Lc -30.7 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

    #E9D0EA

    oklch(88.6% 0.044 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

    #B961BF

    oklch(63% 0.164 324.9)

  7. Step 600

    600 (this color)

    #AF4FB6

    oklch(58.8% 0.179 324.9)

  8. Step 700

    700

    #8D3693

    oklch(49.2% 0.165 325.1)

  9. Step 800

    800

    #722D78

    oklch(42.6% 0.138 324.4)

  10. Step 900

    900

    #5D2A60

    oklch(37.7% 0.106 325.3)

  11. Step 950

    950

    #361938

    oklch(26.9% 0.067 324.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF4FB6 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)#406EB90.177
Deuteranopia (no green cones)#607AB30.155
Tritanopia (no blue cones)#B35C7B0.104
Achromatopsia (no color)#7676760.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4FB6

    #AF4FB6

    oklch(58.8% 0.179 324.9)

  • #14962C

    #14962C

    oklch(58.7% 0.178 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4FB6

    #AF4FB6

    oklch(58.8% 0.179 324.9)

  • #8760DA

    #8760DA

    oklch(58.8% 0.179 295)

  • #C94382

    #C94382

    oklch(58.9% 0.179 355.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF4FB6

    #AF4FB6

    oklch(58.8% 0.179 324.9)

  • #7B8500

    #7B8500

    oklch(58.8% 0.133 114.9)

  • #009279

    #009279

    oklch(58.9% 0.111 174.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4FB6

    #AF4FB6

    oklch(58.8% 0.179 324.9)

  • #9D7600

    #9D7600

    oklch(58.8% 0.121 85.4)

  • #008D99

    #008D99

    oklch(58.7% 0.1 205.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4FB6

    #AF4FB6

    oklch(58.8% 0.179 324.9)

  • #BC6000

    #BC6000

    oklch(58.7% 0.146 54.9)

  • #14962C

    #14962C

    oklch(58.7% 0.178 144.9)

  • #0087BB

    #0087BB

    oklch(58.8% 0.124 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 #AF4FB6, closest first.

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

Similar named colors

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

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