#AF3EB2#AF3EB2
#AF3EB2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.6% C 0.199 H 326.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3EB2 |
|---|---|
| RGB | rgb(175, 62, 178) |
| HSL | hsl(298, 48%, 47%) |
| HSV | hsv(298, 65%, 70%) |
| CMYK | cmyk(1.7%, 65.2%, 0%, 30.2%) |
| CIE-LAB | lab(46.68, 60.28, -39.47) |
| CIE-LCH | lch(46.68, 72.06, 326.78°) |
| OKLab | oklab(56.62% 0.1667 -0.1093) |
| OKLCH | oklch(56.62% 0.199 326.8) |
| XYZ | xyz(27.4372, 15.7753, 43.7106) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.37
Medium Purple
#9E43A2
ΔE00 3.65
Purply
#983FB2
ΔE00 4.74
Barney
#AC1DB8
ΔE00 4.79
Purpley Pink
#C83CB9
ΔE00 4.91
Pinky Purple
#C94CBE
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3EB2 #41B23E
analogous
#753EB2 #AF3EB2 #B23E7B
triadic
#AF3EB2 #B2AF3E #3EB2AF
tetradic
#AF3EB2 #B2753E #41B23E #3E7BB2
square
#AF3EB2 #B2753E #41B23E #3E7BB2
split-complementary
#AF3EB2 #7BB23E #3EB275
monochromatic
#561E57 #822E85 #AF3EB2 #C664C9 #D792D9
Accessibility & contrast
On white
5.05
#AF3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#AF3EB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3EB2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3EB2 | 1.00 | 5.05 | 4.15 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#B44E73
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af3eb2; /* rgb */ color: rgb(175, 62, 178); /* oklch */ color: oklch(56.6% 0.199 326.8);
Tailwind
colors: {
custom: {
50: '#ca7cc9',
500: '#af3eb2',
950: '#000000',
},
}SCSS
$custom: #af3eb2; $custom-light: #ca7cc9; $custom-dark: #000000;
JSON
{
"hex": "#af3eb2",
"rgb": {
"r": 175,
"g": 62,
"b": 178
},
"hsl": {
"h": 298.448,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.56615,
"c": 0.19932,
"h": 326.8
},
"luminance": 0.15774
}Semantic roles & 50–950 ramp
primary
#AF3EB2
secondary
#89C488
accent
#D85053
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82