#AF3EA9#AF3EA9
#AF3EA9 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.192 H 330.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3EA9 |
|---|---|
| RGB | rgb(175, 62, 169) |
| HSL | hsl(303, 48%, 46%) |
| HSV | hsv(303, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 3.4%, 31.4%) |
| CIE-LAB | lab(46.21, 58.75, -34.90) |
| CIE-LCH | lch(46.21, 68.33, 329.28°) |
| OKLab | oklab(56.13% 0.1662 -0.0961) |
| OKLCH | oklch(56.13% 0.192 330) |
| XYZ | xyz(26.5631, 15.4257, 39.1068) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.26
Medium Purple
#9E43A2
ΔE00 3.16
Purpley Pink
#C83CB9
ΔE00 5.08
Barney
#AC1DB8
ΔE00 5.52
Purply
#983FB2
ΔE00 5.57
Pinky Purple
#C94CBE
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3EA9 #3EAF44
analogous
#7D3EAF #AF3EA9 #AF3E71
triadic
#AF3EA9 #A9AF3E #3EA9AF
tetradic
#AF3EA9 #AF7D3E #3EAF44 #3E71AF
square
#AF3EA9 #AF7D3E #3EAF44 #3E71AF
split-complementary
#AF3EA9 #71AF3E #3EAF7D
monochromatic
#551E52 #822E7D #AF3EA9 #C863C2 #D890D4
Accessibility & contrast
On white
5.14
#AF3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#AF3EA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3EA9
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3EA9 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3464AC
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#B54B6E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af3ea9; /* rgb */ color: rgb(175, 62, 169); /* oklch */ color: oklch(56.1% 0.192 330.0);
Tailwind
colors: {
custom: {
50: '#ca7cc3',
500: '#af3ea9',
950: '#000000',
},
}SCSS
$custom: #af3ea9; $custom-light: #ca7cc3; $custom-dark: #000000;
JSON
{
"hex": "#af3ea9",
"rgb": {
"r": 175,
"g": 62,
"b": 169
},
"hsl": {
"h": 303.186,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.56126,
"c": 0.19192,
"h": 330
},
"luminance": 0.15424
}Semantic roles & 50–950 ramp
primary
#AF3EA9
secondary
#86C389
accent
#D75851
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81