#AF4AC2
Closest named color: Medium Orchid (#BA55D3). oklch(58.9% 0.197 321), rgb(175, 74, 194).
Aa
White text reads best on this color (4.58:1).
About this color
#AF4AC2 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.197 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.038 away. White text reads best on it, at 4.58:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.197) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.58:1 |
| White text | 4.58:1 |
Values
| HEX | #AF4AC2 |
| RGB | rgb(175, 74, 194) |
| HSL | hsl(291, 50%, 53%) |
| OKLCH | oklch(58.9% 0.197 321) |
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 #AF4AC2 | 4.58:1 | AA | Lc -76.6 | Fine for body text |
| Black text on #AF4AC2 | 4.58:1 | AA | Lc 32.9 | Non-text elements, placeholder text |
| #AF4AC2 text on white | 4.58:1 | AA | Lc 71.1 | Content text, not long reading |
| #AF4AC2 text on black | 4.58: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.
-
Step 50
50
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F2E5F5
oklch(93.7% 0.025 319.9)
-
Step 200
200
#E9CFED
oklch(88.5% 0.049 321.7)
-
Step 300
300
#DBAEE4
oklch(80.9% 0.089 320.7)
-
Step 400
400
#C881D6
oklch(70.7% 0.142 320.8)
-
Step 500
500
#B95DCB
oklch(63% 0.182 320.9)
-
Step 600
600 (this color)
#AF4AC2
oklch(58.9% 0.197 321)
-
Step 700
700
#8D309E
oklch(49.2% 0.183 321.1)
-
Step 800
800
#722980
oklch(42.6% 0.152 320.8)
-
Step 900
900
#5D2767
oklch(37.7% 0.119 321.1)
-
Step 950
950
#36183C
oklch(26.9% 0.074 320.7)
#AF4AC2 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) | #2E6EC6 | 0.193 |
| Deuteranopia (no green cones) | #5679BF | 0.167 |
| Tritanopia (no blue cones) | #B05D7F | 0.121 |
| Achromatopsia (no color) | #757575 | 0.199 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF4AC2
#AF4AC2
oklch(58.9% 0.197 321)
- #219700
#219700
oklch(59% 0.194 141)
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 #AF4AC2, closest first.
No curated palette has a color within ΔE 0.04 of #AF4AC2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.038
- Purpley Pink #C83CB9 ΔE 0.051
- Pinky Purple #C94CBE ΔE 0.051
- Amethyst #9B5FC0 ΔE 0.053
- Purply #983FB2 ΔE 0.055
- Dark Orchid #9932CC ΔE 0.066
- Deep Lavender #8D5EB7 ΔE 0.073
- Lighter Purple #A55AF4 ΔE 0.081
Use #AF4AC2 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.