#AF3EAB#AF3EAB
#AF3EAB is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.194 H 329.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3EAB |
|---|---|
| RGB | rgb(175, 62, 171) |
| HSL | hsl(302, 48%, 46%) |
| HSV | hsv(302, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 2.3%, 31.4%) |
| CIE-LAB | lab(46.31, 59.08, -35.93) |
| CIE-LCH | lch(46.31, 69.15, 328.70°) |
| OKLab | oklab(56.23% 0.1663 -0.099) |
| OKLCH | oklch(56.23% 0.194 329.2) |
| XYZ | xyz(26.7523, 15.5014, 40.1032) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.45
Medium Purple
#9E43A2
ΔE00 3.20
Purpley Pink
#C83CB9
ΔE00 5.00
Barney
#AC1DB8
ΔE00 5.32
Purply
#983FB2
ΔE00 5.35
Pinky Purple
#C94CBE
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3EAB #3EAF42
analogous
#7B3EAF #AF3EAB #AF3E73
triadic
#AF3EAB #ABAF3E #3EABAF
tetradic
#AF3EAB #AF7B3E #3EAF42 #3E73AF
square
#AF3EAB #AF7B3E #3EAF42 #3E73AF
split-complementary
#AF3EAB #73AF3E #3EAF7B
monochromatic
#551E53 #822E7F #AF3EAB #C863C4 #D890D5
Accessibility & contrast
On white
5.12
#AF3EAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#AF3EAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3EAB
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3EAB | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#5C73A8
Tritanopia (blue-blind)
#B54C6F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af3eab; /* rgb */ color: rgb(175, 62, 171); /* oklch */ color: oklch(56.2% 0.194 329.2);
Tailwind
colors: {
custom: {
50: '#ca7cc4',
500: '#af3eab',
950: '#000000',
},
}SCSS
$custom: #af3eab; $custom-light: #ca7cc4; $custom-dark: #000000;
JSON
{
"hex": "#af3eab",
"rgb": {
"r": 175,
"g": 62,
"b": 171
},
"hsl": {
"h": 302.124,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.56232,
"c": 0.19354,
"h": 329.2
},
"luminance": 0.15499
}Semantic roles & 50–950 ramp
primary
#AF3EAB
secondary
#86C388
accent
#D75551
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82