#AF5791
Closest named color: Light Plum (#9D5783). oklch(58.2% 0.134 342), rgb(175, 87, 145).
Aa
Black text reads best on this color (4.59:1).
About this color
#AF5791 is a medium-dark, moderately saturated pink. In OKLCH its lightness is 58%, its chroma 0.134 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.040 away. Black text reads best on it, at 4.59:1.
| Hue family | Pinks |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.134) |
| Temperature | warm |
| Nearest name | Light Plum (#9D5783) |
| Black text | 4.59:1 |
| White text | 4.57:1 |
Values
| HEX | #AF5791 |
| RGB | rgb(175, 87, 145) |
| HSL | hsl(320, 35%, 51%) |
| OKLCH | oklch(58.2% 0.134 342) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #AF5791 | 4.57:1 | AA | Lc -76.8 | Fine for body text |
| Black text on #AF5791 | 4.59:1 | AA | Lc 32.7 | Non-text elements, placeholder text |
| #AF5791 text on white | 4.57:1 | AA | Lc 71.3 | Content text, not long reading |
| #AF5791 text on black | 4.59:1 | AA | Lc -30.3 | 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.
-
Step 50
50
#FAF3F7
oklch(97.1% 0.009 341.8)
-
Step 100
100
#F3E5ED
oklch(93.5% 0.018 342)
-
Step 200
200
#EAD1DF
oklch(88.5% 0.033 343)
-
Step 300
300
#DDB2CC
oklch(81% 0.06 341.6)
-
Step 400
400
#CB88B2
oklch(70.7% 0.098 341.8)
-
Step 500
500
#BC699E
oklch(63.1% 0.124 342.4)
-
Step 600
600 (this color)
#AF5791
oklch(58.2% 0.134 342)
-
Step 700
700
#8F4074
oklch(49.2% 0.125 342.5)
-
Step 800
800
#74355F
oklch(42.7% 0.104 341.8)
-
Step 900
900
#5E2F4E
oklch(37.8% 0.081 341.6)
-
Step 950
950
#371C2D
oklch(27% 0.05 342.6)
#AF5791 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #5C6D93 | 0.142 |
| Deuteranopia (no green cones) | #747B8F | 0.128 |
| Tritanopia (no blue cones) | #B8586D | 0.059 |
| Achromatopsia (no color) | #767676 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF5791
#AF5791
oklch(58.2% 0.134 342)
- #009163
#009163
oklch(58% 0.127 162.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AF5791, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Plum #9D5783 ΔE 0.040
- Dark Lilac #9C6DA5 ΔE 0.059
- Soft Purple #A66FB5 ΔE 0.068
- Faded Purple #916E99 ΔE 0.070
- Deep Rose #C74767 ΔE 0.074
- Dusky Rose #BA6873 ΔE 0.075
- Mauve #AE7181 ΔE 0.075
- Dark Rose #B5485D ΔE 0.076
Use #AF5791 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.