#AF37B2
Closest named color: Purply (#983FB2). oklch(55.9% 0.208 326.9), rgb(175, 55, 178).
Aa
White text reads best on this color (5.23:1).
About this color
#AF37B2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.208 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.044 away. White text reads best on it, at 5.23:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.208) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 4.01:1 |
| White text | 5.23:1 |
Values
| HEX | #AF37B2 |
| RGB | rgb(175, 55, 178) |
| HSL | hsl(299, 53%, 46%) |
| OKLCH | oklch(55.9% 0.208 326.9) |
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 #AF37B2 | 5.23:1 | AA | Lc -80.3 | Fine for body text |
| Black text on #AF37B2 | 4.01:1 | AA large text | Lc 29.1 | Dividers and decoration only |
| #AF37B2 text on white | 5.23:1 | AA | Lc 74.9 | Content text, not long reading |
| #AF37B2 text on black | 4.01:1 | AA large text | Lc -26.8 | 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
#FAF3FA
oklch(97.2% 0.012 325.7)
-
Step 100
100
#F4E4F4
oklch(93.6% 0.027 325.8)
-
Step 200
200
#ECCEEB
oklch(88.5% 0.051 327)
-
Step 300
300
#E1ACE0
oklch(80.9% 0.092 327)
-
Step 400
400
#D17DD1
oklch(70.8% 0.149 327)
-
Step 500
500
#C357C5
oklch(63.2% 0.191 326.8)
-
Step 600
600 (this color)
#AF37B2
oklch(55.9% 0.208 326.9)
-
Step 700
700
#952698
oklch(49% 0.194 326.9)
-
Step 800
800
#79237B
oklch(42.7% 0.159 327)
-
Step 900
900
#622363
oklch(37.7% 0.124 327.1)
-
Step 950
950
#3A163A
oklch(27.1% 0.079 327.5)
#AF37B2 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) | #2062B5 | 0.219 |
| Deuteranopia (no green cones) | #5472AF | 0.186 |
| Tritanopia (no blue cones) | #B44A71 | 0.117 |
| Achromatopsia (no color) | #6C6C6C | 0.210 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF37B2
#AF37B2
oklch(55.9% 0.208 326.9)
- #008D31
#008D31
oklch(56% 0.167 146.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 #AF37B2, closest first.
No curated palette has a color within ΔE 0.04 of #AF37B2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.044
- Purpley Pink #C83CB9 ΔE 0.051
- Dark Orchid #9932CC ΔE 0.064
- Pinky Purple #C94CBE ΔE 0.067
- Medium Orchid #BA55D3 ΔE 0.072
- Warm Purple #952E8F ΔE 0.075
- Amethyst #9B5FC0 ΔE 0.080
- Vibrant Purple #AD03DE ΔE 0.083
Use #AF37B2 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.