#AF409D

Closest named color: Purply (#983FB2). oklch(55.7% 0.18 334.7), rgb(175, 64, 157).

Aa

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

About this color

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

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

Values

HEX#AF409D
RGBrgb(175, 64, 157)
HSLhsl(310, 46%, 47%)
OKLCHoklch(55.7% 0.18 334.7)

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 #AF409D 5.19:1 AA Lc -80.3 Fine for body text
Black text on #AF409D 4.04:1 AA large text Lc 29.1 Dividers and decoration only
#AF409D text on white 5.19:1 AA Lc 75.0 Content text, not long reading
#AF409D text on black 4.04:1 AA large text Lc -26.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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #EDCFE5

    oklch(88.6% 0.044 335.4)

  4. Step 300

    300

    #E2ADD6

    oklch(80.9% 0.082 334.5)

  5. Step 400

    400

    #D180C1

    oklch(70.6% 0.13 334.4)

  6. Step 500

    500

    #C35DB1

    oklch(63% 0.165 334.5)

  7. Step 600

    600 (this color)

    #AF409D

    oklch(55.7% 0.18 334.7)

  8. Step 700

    700

    #963086

    oklch(49.1% 0.168 334.7)

  9. Step 800

    800

    #7A2A6D

    oklch(42.8% 0.138 334.7)

  10. Step 900

    900

    #622758

    oklch(37.6% 0.108 334.5)

  11. Step 950

    950

    #3A1834

    oklch(27.1% 0.068 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF409D 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)#3F62A00.190
Deuteranopia (no green cones)#63739A0.166
Tritanopia (no blue cones)#B747690.089
Achromatopsia (no color)#6D6D6D0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF409D

    #AF409D

    oklch(55.7% 0.18 334.7)

  • #008A4D

    #008A4D

    oklch(55.6% 0.138 154.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF409D

    #AF409D

    oklch(55.7% 0.18 334.7)

  • #8C50C6

    #8C50C6

    oklch(55.6% 0.179 304.7)

  • #C33666

    #C33666

    oklch(55.7% 0.18 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF409D

    #AF409D

    oklch(55.7% 0.18 334.7)

  • #628100

    #628100

    oklch(55.9% 0.14 124.7)

  • #00867B

    #00867B

    oklch(55.7% 0.098 184.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF409D

    #AF409D

    oklch(55.7% 0.18 334.7)

  • #897200

    #897200

    oklch(55.8% 0.114 94.9)

  • #008297

    #008297

    oklch(55.8% 0.098 214.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF409D

    #AF409D

    oklch(55.7% 0.18 334.7)

  • #A56100

    #A56100

    oklch(55.7% 0.126 64.5)

  • #008A4D

    #008A4D

    oklch(55.6% 0.138 154.7)

  • #0079BF

    #0079BF

    oklch(55.7% 0.14 245)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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