#AF3EA5#AF3EA5
#AF3EA5 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.189 H 331.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3EA5 |
|---|---|
| RGB | rgb(175, 62, 165) |
| HSL | hsl(305, 48%, 46%) |
| HSV | hsv(305, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 5.7%, 31.4%) |
| CIE-LAB | lab(46.01, 58.08, -32.85) |
| CIE-LCH | lch(46.01, 66.73, 330.51°) |
| OKLab | oklab(55.92% 0.1658 -0.0901) |
| OKLCH | oklch(55.92% 0.189 331.5) |
| XYZ | xyz(26.1933, 15.2778, 37.1593) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.03
Medium Purple
#9E43A2
ΔE00 3.22
Purpley Pink
#C83CB9
ΔE00 5.32
Barney
#AC1DB8
ΔE00 6.00
Purply
#983FB2
ΔE00 6.08
Warm Purple
#952E8F
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3EA5 #3EAF48
analogous
#813EAF #AF3EA5 #AF3E6D
triadic
#AF3EA5 #A5AF3E #3EA5AF
tetradic
#AF3EA5 #AF813E #3EAF48 #3E6DAF
square
#AF3EA5 #AF813E #3EAF48 #3E6DAF
split-complementary
#AF3EA5 #6DAF3E #3EAF81
monochromatic
#551E50 #822E7A #AF3EA5 #C863BF #D890D1
Accessibility & contrast
On white
5.18
#AF3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#AF3EA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3EA5
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3EA5 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#5E73A2
Tritanopia (blue-blind)
#B6496C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af3ea5; /* rgb */ color: rgb(175, 62, 165); /* oklch */ color: oklch(55.9% 0.189 331.5);
Tailwind
colors: {
custom: {
50: '#ca7cc0',
500: '#af3ea5',
950: '#000000',
},
}SCSS
$custom: #af3ea5; $custom-light: #ca7cc0; $custom-dark: #000000;
JSON
{
"hex": "#af3ea5",
"rgb": {
"r": 175,
"g": 62,
"b": 165
},
"hsl": {
"h": 305.31,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.55916,
"c": 0.18872,
"h": 331.5
},
"luminance": 0.15276
}Semantic roles & 50–950 ramp
primary
#AF3EA5
secondary
#86C38C
accent
#D75C51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81