#AB7CF9#AB7CF9
#AB7CF9 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.181 H 298.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7CF9 |
|---|---|
| RGB | rgb(171, 124, 249) |
| HSL | hsl(263, 91%, 73%) |
| HSV | hsv(263, 50%, 98%) |
| CMYK | cmyk(31.3%, 50.2%, 0%, 2.4%) |
| CIE-LAB | lab(61.58, 43.70, -56.15) |
| CIE-LCH | lch(61.58, 71.15, 307.89°) |
| OKLab | oklab(68.68% 0.0875 -0.1583) |
| OKLCH | oklch(68.68% 0.181 298.9) |
| XYZ | xyz(41.0970, 29.9124, 93.2127) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.61
Light Purple
#BF77F6
ΔE00 4.19
Easter Purple
#C071FE
ΔE00 4.51
Liliac
#C48EFD
ΔE00 6.23
Periwinkle (survey)
#8E82FE
ΔE00 6.30
Mediumpurple
#9370DB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7CF9 #CAF97C
analogous
#7C8BF9 #AB7CF9 #E97CF9
triadic
#AB7CF9 #F9AB7C #7CF9AB
tetradic
#AB7CF9 #F97C8B #CAF97C #7CF9E9
square
#AB7CF9 #F97C8B #CAF97C #7CF9E9
split-complementary
#AB7CF9 #F9E97C #8BF97C
monochromatic
#610BF0 #8541F6 #AB7CF9 #D1B7FC #ECE2FE
Accessibility & contrast
On white
3.01
#AB7CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#AB7CF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7CF9
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7CF9 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#5C94F6
Tritanopia (blue-blind)
#9B94AF
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ab7cf9; /* rgb */ color: rgb(171, 124, 249); /* oklch */ color: oklch(68.7% 0.181 298.9);
Tailwind
colors: {
custom: {
50: '#c7a3fc',
500: '#ab7cf9',
950: '#000000',
},
}SCSS
$custom: #ab7cf9; $custom-light: #c7a3fc; $custom-dark: #000000;
JSON
{
"hex": "#ab7cf9",
"rgb": {
"r": 171,
"g": 124,
"b": 249
},
"hsl": {
"h": 262.56,
"s": 91.241,
"l": 73.137
},
"oklch": {
"l": 0.68682,
"c": 0.18087,
"h": 298.9
},
"luminance": 0.29913
}Semantic roles & 50–950 ramp
primary
#AB7CF9
secondary
#EAF6D5
accent
#E6008F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85