#AF3AC8
Closest named color: Dark Orchid (#9932CC). oklch(57.5% 0.223 320), rgb(175, 58, 200).
Aa
White text reads best on this color (4.92:1).
About this color
#AF3AC8 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.223 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.048 away. White text reads best on it, at 4.92:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.223) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 4.26:1 |
| White text | 4.92:1 |
Values
| HEX | #AF3AC8 |
| RGB | rgb(175, 58, 200) |
| HSL | hsl(289, 56%, 51%) |
| OKLCH | oklch(57.5% 0.223 320) |
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 #AF3AC8 | 4.92:1 | AA | Lc -78.5 | Fine for body text |
| Black text on #AF3AC8 | 4.26:1 | AA large text | Lc 31.0 | Non-text elements, placeholder text |
| #AF3AC8 text on white | 4.92:1 | AA | Lc 73.1 | Content text, not long reading |
| #AF3AC8 text on black | 4.26:1 | AA large text | Lc -28.6 | Dividers and decoration only |
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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F6
oklch(93.6% 0.029 320.6)
-
Step 200
200
#EACEF0
oklch(88.5% 0.055 320.3)
-
Step 300
300
#DEACE9
oklch(81% 0.1 320.2)
-
Step 400
400
#CC7CDE
oklch(70.7% 0.161 320.1)
-
Step 500
500
#BD55D5
oklch(63% 0.206 319.7)
-
Step 600
600 (this color)
#AF3AC8
oklch(57.5% 0.223 320)
-
Step 700
700
#9123A7
oklch(49.2% 0.207 320.2)
-
Step 800
800
#752087
oklch(42.6% 0.171 319.9)
-
Step 900
900
#5F226C
oklch(37.7% 0.133 320.2)
-
Step 950
950
#381540
oklch(27% 0.086 319.8)
#AF3AC8 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) | #0068CC | 0.222 |
| Deuteranopia (no green cones) | #4774C5 | 0.192 |
| Tritanopia (no blue cones) | #B0557D | 0.138 |
| Achromatopsia (no color) | #707070 | 0.225 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF3AC8
#AF3AC8
oklch(57.5% 0.223 320)
- #2B9100
#2B9100
oklch(57.5% 0.185 139.9)
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 #AF3AC8, closest first.
No curated palette has a color within ΔE 0.04 of #AF3AC8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.048
- Purply #983FB2 ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.054
- Purpley Pink #C83CB9 ΔE 0.057
- Vibrant Purple #AD03DE ΔE 0.058
- Pinky Purple #C94CBE ΔE 0.067
- Amethyst #9B5FC0 ΔE 0.077
- Purple Pink #D725DE ΔE 0.081
Use #AF3AC8 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.