#AF409F

Closest named color: Purply (#983FB2). oklch(55.8% 0.181 333.9), rgb(175, 64, 159).

Aa

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

About this color

#AF409F is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.181 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.056 away. White text reads best on it, at 5.17:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.181)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.05:1
White text5.17:1

Values

HEX#AF409F
RGBrgb(175, 64, 159)
HSLhsl(309, 46%, 47%)
OKLCHoklch(55.8% 0.181 333.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 #AF409F 5.17:1 AA Lc -80.2 Fine for body text
Black text on #AF409F 4.05:1 AA large text Lc 29.2 Dividers and decoration only
#AF409F text on white 5.17:1 AA Lc 74.8 Content text, not long reading
#AF409F text on black 4.05:1 AA large text Lc -26.9 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #EDCFE6

    oklch(88.6% 0.045 334)

  4. Step 300

    300

    #E2ADD7

    oklch(80.9% 0.083 333.7)

  5. Step 400

    400

    #D180C2

    oklch(70.7% 0.13 333.9)

  6. Step 500

    500

    #C35DB3

    oklch(63.1% 0.167 333.7)

  7. Step 600

    600 (this color)

    #AF409F

    oklch(55.8% 0.181 333.9)

  8. Step 700

    700

    #953087

    oklch(49% 0.168 333.8)

  9. Step 800

    800

    #79296E

    oklch(42.6% 0.14 333.6)

  10. Step 900

    900

    #622759

    oklch(37.7% 0.109 333.8)

  11. Step 950

    950

    #3A1834

    oklch(27.1% 0.068 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF409F 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)#3E63A20.191
Deuteranopia (no green cones)#62739C0.167
Tritanopia (no blue cones)#B7486A0.092
Achromatopsia (no color)#6D6D6D0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF409F

    #AF409F

    oklch(55.8% 0.181 333.9)

  • #008B4B

    #008B4B

    oklch(55.9% 0.142 153.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF409F

    #AF409F

    oklch(55.8% 0.181 333.9)

  • #8C51C8

    #8C51C8

    oklch(55.9% 0.18 304)

  • #C43668

    #C43668

    oklch(55.9% 0.181 4)

Open the analogous palette in the generator

Split complementary

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

  • #AF409F

    #AF409F

    oklch(55.8% 0.181 333.9)

  • #648000

    #648000

    oklch(55.8% 0.138 123.5)

  • #00867A

    #00867A

    oklch(55.7% 0.099 183.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF409F

    #AF409F

    oklch(55.8% 0.181 333.9)

  • #8A7200

    #8A7200

    oklch(55.9% 0.115 94.3)

  • #008297

    #008297

    oklch(55.8% 0.098 214.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF409F

    #AF409F

    oklch(55.8% 0.181 333.9)

  • #A66100

    #A66100

    oklch(55.8% 0.126 64)

  • #008B4B

    #008B4B

    oklch(55.9% 0.142 153.8)

  • #007ABE

    #007ABE

    oklch(55.8% 0.138 244)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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