#AF54A1

Closest named color: Light Plum (#9D5783). oklch(58.4% 0.152 333.5), rgb(175, 84, 161).

Aa

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

About this color

#AF54A1 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.152 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.058 away. Black text reads best on it, at 4.60:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLight Plum (#9D5783)
Black text4.60:1
White text4.55:1

Values

HEX#AF54A1
RGBrgb(175, 84, 161)
HSLhsl(309, 36%, 51%)
OKLCHoklch(58.4% 0.152 333.5)

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 #AF54A1 4.55:1 AA Lc -76.7 Fine for body text
Black text on #AF54A1 4.60:1 AA Lc 32.9 Non-text elements, placeholder text
#AF54A1 text on white 4.55:1 AA Lc 71.2 Content text, not long reading
#AF54A1 text on black 4.60:1 AA Lc -30.5 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #E9D0E4

    oklch(88.4% 0.038 332.6)

  4. Step 300

    300

    #DDB1D3

    oklch(81% 0.068 334.3)

  5. Step 400

    400

    #CA86BD

    oklch(70.7% 0.11 333.8)

  6. Step 500

    500

    #BB66AD

    oklch(63.1% 0.141 333.5)

  7. Step 600

    600 (this color)

    #AF54A1

    oklch(58.4% 0.152 333.5)

  8. Step 700

    700

    #8E3C82

    oklch(49.1% 0.142 333.5)

  9. Step 800

    800

    #73326A

    oklch(42.7% 0.118 333)

  10. Step 900

    900

    #5D2D56

    oklch(37.7% 0.091 332.9)

  11. Step 950

    950

    #371B32

    oklch(27.1% 0.057 334)

Export this scale for Tailwind in the Tailwind colors tool

#AF54A1 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)#536DA40.154
Deuteranopia (no green cones)#6D7B9E0.139
Tritanopia (no blue cones)#B65A730.079
Achromatopsia (no color)#7676760.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF54A1

    #AF54A1

    oklch(58.4% 0.152 333.5)

  • #00944F

    #00944F

    oklch(58.5% 0.149 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF54A1

    #AF54A1

    oklch(58.4% 0.152 333.5)

  • #8F61C4

    #8F61C4

    oklch(58.4% 0.152 303.5)

  • #C24E72

    #C24E72

    oklch(58.6% 0.152 3.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF54A1

    #AF54A1

    oklch(58.4% 0.152 333.5)

  • #6B8900

    #6B8900

    oklch(58.5% 0.145 123.6)

  • #008F82

    #008F82

    oklch(58.4% 0.104 183.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF54A1

    #AF54A1

    oklch(58.4% 0.152 333.5)

  • #947900

    #947900

    oklch(58.5% 0.12 93.2)

  • #008BA0

    #008BA0

    oklch(58.5% 0.102 213.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF54A1

    #AF54A1

    oklch(58.4% 0.152 333.5)

  • #B16700

    #B16700

    oklch(58.4% 0.133 63.5)

  • #00944F

    #00944F

    oklch(58.5% 0.149 153.4)

  • #0082C9

    #0082C9

    oklch(58.4% 0.143 243.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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