#AF37CC
Closest named color: Dark Orchid (#9932CC). oklch(57.5% 0.23 319), rgb(175, 55, 204).
Aa
White text reads best on this color (4.95:1).
About this color
#AF37CC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.230 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Orchid (#9932CC), ΔE 0.045 away. White text reads best on it, at 4.95:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.230) |
| Temperature | in between |
| Nearest name | Dark Orchid (#9932CC) |
| Black text | 4.24:1 |
| White text | 4.95:1 |
Values
| HEX | #AF37CC |
| RGB | rgb(175, 55, 204) |
| HSL | hsl(288, 59%, 51%) |
| OKLCH | oklch(57.5% 0.23 319) |
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 #AF37CC | 4.95:1 | AA | Lc -78.6 | Fine for body text |
| Black text on #AF37CC | 4.24:1 | AA large text | Lc 30.9 | Non-text elements, placeholder text |
| #AF37CC text on white | 4.95:1 | AA | Lc 73.2 | Content text, not long reading |
| #AF37CC text on black | 4.24:1 | AA large text | Lc -28.5 | 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
#F3E4F7
oklch(93.6% 0.03 319.1)
-
Step 200
200
#EACEF2
oklch(88.6% 0.057 318.7)
-
Step 300
300
#DEABEB
oklch(80.9% 0.104 319.3)
-
Step 400
400
#CC7BE1
oklch(70.7% 0.166 319.1)
-
Step 500
500
#BD53D8
oklch(63% 0.211 319)
-
Step 600
600 (this color)
#AF37CC
oklch(57.5% 0.23 319)
-
Step 700
700
#911FAB
oklch(49.2% 0.214 319)
-
Step 800
800
#751E8A
oklch(42.6% 0.176 318.8)
-
Step 900
900
#5F216F
oklch(37.8% 0.138 318.7)
-
Step 950
950
#381541
oklch(27.1% 0.087 319)
#AF37CC 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) | #0068D0 | 0.223 |
| Deuteranopia (no green cones) | #4174C9 | 0.198 |
| Tritanopia (no blue cones) | #AF557F | 0.143 |
| Achromatopsia (no color) | #707070 | 0.232 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF37CC
#AF37CC
oklch(57.5% 0.23 319)
- #339000
#339000
oklch(57.5% 0.181 138.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 #AF37CC, closest first.
No curated palette has a color within ΔE 0.04 of #AF37CC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Orchid #9932CC ΔE 0.045
- Vibrant Purple #AD03DE ΔE 0.050
- Medium Orchid #BA55D3 ΔE 0.057
- Purply #983FB2 ΔE 0.058
- Purpley Pink #C83CB9 ΔE 0.062
- Pinky Purple #C94CBE ΔE 0.072
- Dark Violet #9400D3 ΔE 0.078
- Purple Pink #D725DE ΔE 0.079
Use #AF37CC 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.