#AF4DC6
Closest named color: Medium Orchid (#BA55D3). oklch(59.4% 0.197 319.6), rgb(175, 77, 198).
Aa
Black text reads best on this color (4.69:1).
About this color
#AF4DC6 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.197 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.032 away. Black text reads best on it, at 4.69:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.197) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.69:1 |
| White text | 4.46:1 |
Values
| HEX | #AF4DC6 |
| RGB | rgb(175, 77, 198) |
| HSL | hsl(289, 51%, 54%) |
| OKLCH | oklch(59.4% 0.197 319.6) |
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 #AF4DC6 | 4.46:1 | AA large text | Lc -75.8 | Fine for body text |
| Black text on #AF4DC6 | 4.69:1 | AA | Lc 33.7 | Non-text elements, placeholder text |
| #AF4DC6 text on white | 4.46:1 | AA large text | Lc 70.4 | Content text, not long reading |
| #AF4DC6 text on black | 4.69:1 | AA | Lc -31.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 500.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F2E4F6
oklch(93.5% 0.028 318.7)
-
Step 200
200
#E9CEF0
oklch(88.4% 0.054 319.3)
-
Step 300
300
#DCADE8
oklch(80.9% 0.096 319.3)
-
Step 400
400
#CA7EDC
oklch(70.7% 0.154 319.8)
-
Step 500
500 (this color)
#AF4DC6
oklch(59.4% 0.197 319.6)
-
Step 600
600
#A638BF
oklch(55.5% 0.214 319.5)
-
Step 700
700
#8E29A5
oklch(49.1% 0.198 319.4)
-
Step 800
800
#742486
oklch(42.7% 0.165 319.6)
-
Step 900
900
#5E246B
oklch(37.7% 0.129 319.9)
-
Step 950
950
#37163F
oklch(27% 0.082 319.4)
#AF4DC6 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) | #2E70CA | 0.190 |
| Deuteranopia (no green cones) | #567BC3 | 0.165 |
| Tritanopia (no blue cones) | #B06182 | 0.124 |
| Achromatopsia (no color) | #777777 | 0.198 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF4DC6
#AF4DC6
oklch(59.4% 0.197 319.6)
- #319700
#319700
oklch(59.4% 0.189 139.5)
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 #AF4DC6, closest first.
No curated palette has a color within ΔE 0.04 of #AF4DC6.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.032
- Amethyst #9B5FC0 ΔE 0.050
- Pinky Purple #C94CBE ΔE 0.051
- Purpley Pink #C83CB9 ΔE 0.054
- Purply #983FB2 ΔE 0.060
- Dark Orchid #9932CC ΔE 0.068
- Deep Lavender #8D5EB7 ΔE 0.072
- Lighter Purple #A55AF4 ΔE 0.074
Use #AF4DC6 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.