#AF58CB
Closest named color: Medium Orchid (#BA55D3). oklch(61.1% 0.185 317.3), rgb(175, 88, 203).
Aa
Black text reads best on this color (5.08:1).
About this color
#AF58CB is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.185 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.023 away. Black text reads best on it, at 5.08:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.185) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.08:1 |
| White text | 4.13:1 |
Values
| HEX | #AF58CB |
| RGB | rgb(175, 88, 203) |
| HSL | hsl(285, 53%, 57%) |
| OKLCH | oklch(61.1% 0.185 317.3) |
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 #AF58CB | 4.13:1 | AA large text | Lc -73.4 | Content text, not long reading |
| Black text on #AF58CB | 5.08:1 | AA | Lc 36.2 | Non-text elements, placeholder text |
| #AF58CB text on white | 4.13:1 | AA large text | Lc 67.9 | Content text, not long reading |
| #AF58CB text on black | 5.08:1 | AA | Lc -33.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 500.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F6
oklch(93.6% 0.026 316.1)
-
Step 200
200
#E7CFF0
oklch(88.4% 0.051 316.8)
-
Step 300
300
#D9AFE7
oklch(81% 0.089 317.6)
-
Step 400
400
#C582DC
oklch(70.8% 0.145 317.1)
-
Step 500
500 (this color)
#AF58CB
oklch(61.1% 0.185 317.3)
-
Step 600
600
#A140BF
oklch(55.7% 0.202 317.2)
-
Step 700
700
#8930A4
oklch(49% 0.187 317.2)
-
Step 800
800
#702A85
oklch(42.8% 0.155 317.5)
-
Step 900
900
#5B286B
oklch(37.8% 0.121 317.4)
-
Step 950
950
#35183F
oklch(27% 0.077 316.7)
#AF58CB 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) | #3C77CF | 0.171 |
| Deuteranopia (no green cones) | #5B7FC8 | 0.150 |
| Tritanopia (no blue cones) | #AE6A89 | 0.119 |
| Achromatopsia (no color) | #7D7D7D | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF58CB
#AF58CB
oklch(61.1% 0.185 317.3)
- #449B03
#449B03
oklch(61.1% 0.185 137.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 #AF58CB, closest first.
No curated palette has a color within ΔE 0.04 of #AF58CB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.023
- Amethyst #9B5FC0 ΔE 0.041
- Pinky Purple #C94CBE ΔE 0.053
- Lighter Purple #A55AF4 ΔE 0.065
- Purpley Pink #C83CB9 ΔE 0.065
- Deep Lavender #8D5EB7 ΔE 0.068
- Soft Purple #A66FB5 ΔE 0.068
- Deep Lilac #966EBD ΔE 0.068
Use #AF58CB 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.