#AB7BE8#AB7BE8
#AB7BE8 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.161 H 302.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7BE8 |
|---|---|
| RGB | rgb(171, 123, 232) |
| HSL | hsl(266, 70%, 70%) |
| HSV | hsv(266, 47%, 91%) |
| CMYK | cmyk(26.3%, 47%, 0%, 9%) |
| CIE-LAB | lab(60.47, 40.14, -48.50) |
| CIE-LCH | lch(60.47, 62.95, 309.61°) |
| OKLab | oklab(67.57% 0.0871 -0.136) |
| OKLCH | oklch(67.57% 0.161 302.6) |
| XYZ | xyz(38.4398, 28.6500, 79.8332) |
| Luminance | 0.2865 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.78
Light Purple
#BF77F6
ΔE00 3.94
Easter Purple
#C071FE
ΔE00 4.93
Mediumpurple
#9370DB
ΔE00 5.47
Liliac
#C48EFD
ΔE00 6.43
Wisteria
#A87DC2
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7BE8 #B8E87B
analogous
#7B82E8 #AB7BE8 #E27BE8
triadic
#AB7BE8 #E8AB7B #7BE8AB
tetradic
#AB7BE8 #E87B82 #B8E87B #7BE8E2
square
#AB7BE8 #E87B82 #B8E87B #7BE8E2
split-complementary
#AB7BE8 #E8E27B #82E87B
monochromatic
#6B23C6 #8A47DF #AB7BE8 #CCAFF1 #EDE3FA
Accessibility & contrast
On white
3.12
#AB7BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#AB7BE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7BE8
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7BE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7BE8 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B91EC
Deuteranopia (green-blind)
#6792E5
Tritanopia (blue-blind)
#A08EA7
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #ab7be8; /* rgb */ color: rgb(171, 123, 232); /* oklch */ color: oklch(67.6% 0.161 302.6);
Tailwind
colors: {
custom: {
50: '#c6a2f0',
500: '#ab7be8',
950: '#000000',
},
}SCSS
$custom: #ab7be8; $custom-light: #c6a2f0; $custom-dark: #000000;
JSON
{
"hex": "#ab7be8",
"rgb": {
"r": 171,
"g": 123,
"b": 232
},
"hsl": {
"h": 266.422,
"s": 70.323,
"l": 69.608
},
"oklch": {
"l": 0.67568,
"c": 0.16146,
"h": 302.6
},
"luminance": 0.2865
}Semantic roles & 50–950 ramp
primary
#AB7BE8
secondary
#E1EFD0
accent
#D2137E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84