#AB6FE2#AB6FE2
#AB6FE2 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.173 H 306.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6FE2 |
|---|---|
| RGB | rgb(171, 111, 226) |
| HSL | hsl(271, 66%, 66%) |
| HSV | hsv(271, 51%, 89%) |
| CMYK | cmyk(24.3%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(57.58, 45.30, -49.74) |
| CIE-LCH | lch(57.58, 67.28, 312.33°) |
| OKLab | oklab(65.31% 0.1025 -0.1395) |
| OKLCH | oklch(65.31% 0.173 306.3) |
| XYZ | xyz(36.2037, 25.5181, 74.9550) |
| Luminance | 0.2552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.03
Light Purple
#BF77F6
ΔE00 4.59
Mediumpurple
#9370DB
ΔE00 4.77
Easter Purple
#C071FE
ΔE00 4.90
Lighter Purple
#A55AF4
ΔE00 5.87
Bright Lavender
#C760FF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6FE2 #A6E26F
analogous
#716FE2 #AB6FE2 #E26FE0
triadic
#AB6FE2 #E2AB6F #6FE2AB
tetradic
#AB6FE2 #E2716F #A6E26F #6FE0E2
square
#AB6FE2 #E2716F #A6E26F #6FE0E2
split-complementary
#AB6FE2 #E0E26F #6FE271
monochromatic
#6E24B3 #8D3CD8 #AB6FE2 #C9A2EC #E6D5F7
Accessibility & contrast
On white
3.44
#AB6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#AB6FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6FE2
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6FE2 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#5E8BDF
Tritanopia (blue-blind)
#A2839E
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ab6fe2; /* rgb */ color: rgb(171, 111, 226); /* oklch */ color: oklch(65.3% 0.173 306.3);
Tailwind
colors: {
custom: {
50: '#c79aeb',
500: '#ab6fe2',
950: '#000000',
},
}SCSS
$custom: #ab6fe2; $custom-light: #c79aeb; $custom-dark: #000000;
JSON
{
"hex": "#ab6fe2",
"rgb": {
"r": 171,
"g": 111,
"b": 226
},
"hsl": {
"h": 271.304,
"s": 66.474,
"l": 66.078
},
"oklch": {
"l": 0.65313,
"c": 0.17312,
"h": 306.3
},
"luminance": 0.25518
}Semantic roles & 50–950 ramp
primary
#AB6FE2
secondary
#D6E9C4
accent
#CE176F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84