#AB7CFB#AB7CFB
#AB7CFB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.8% C 0.183 H 298.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7CFB |
|---|---|
| RGB | rgb(171, 124, 251) |
| HSL | hsl(262, 94%, 74%) |
| HSV | hsv(262, 51%, 98%) |
| CMYK | cmyk(31.9%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(61.69, 44.19, -57.08) |
| CIE-LCH | lch(61.69, 72.18, 307.75°) |
| OKLab | oklab(68.8% 0.0876 -0.161) |
| OKLCH | oklch(68.8% 0.183 298.6) |
| XYZ | xyz(41.4106, 30.0379, 94.8643) |
| Luminance | 0.3004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.69
Light Purple
#BF77F6
ΔE00 4.30
Easter Purple
#C071FE
ΔE00 4.54
Periwinkle (survey)
#8E82FE
ΔE00 6.19
Liliac
#C48EFD
ΔE00 6.29
Mediumpurple
#9370DB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7CFB #CCFB7C
analogous
#7C8CFB #AB7CFB #EB7CFB
triadic
#AB7CFB #FBAB7C #7CFBAB
tetradic
#AB7CFB #FB7C8C #CCFB7C #7CFBEB
square
#AB7CFB #FB7C8C #CCFB7C #7CFBEB
split-complementary
#AB7CFB #FBEB7C #8CFB7C
monochromatic
#5F07F5 #8541F9 #AB7CFB #D1B7FD #ECE1FE
Accessibility & contrast
On white
3.00
#AB7CFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#AB7CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB7CFB
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7CFB | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5A94F8
Tritanopia (blue-blind)
#9A94B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ab7cfb; /* rgb */ color: rgb(171, 124, 251); /* oklch */ color: oklch(68.8% 0.183 298.6);
Tailwind
colors: {
custom: {
50: '#c7a3fd',
500: '#ab7cfb',
950: '#000000',
},
}SCSS
$custom: #ab7cfb; $custom-light: #c7a3fd; $custom-dark: #000000;
JSON
{
"hex": "#ab7cfb",
"rgb": {
"r": 171,
"g": 124,
"b": 251
},
"hsl": {
"h": 262.205,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.68798,
"c": 0.18333,
"h": 298.6
},
"luminance": 0.30038
}Semantic roles & 50–950 ramp
primary
#AB7CFB
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86