#AB7CF3#AB7CF3
#AB7CF3 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.3% C 0.173 H 300.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7CF3 |
|---|---|
| RGB | rgb(171, 124, 243) |
| HSL | hsl(264, 83%, 72%) |
| HSV | hsv(264, 49%, 95%) |
| CMYK | cmyk(29.6%, 49%, 0%, 4.7%) |
| CIE-LAB | lab(61.26, 42.23, -53.35) |
| CIE-LCH | lch(61.26, 68.04, 308.37°) |
| OKLab | oklab(68.34% 0.087 -0.1501) |
| OKLCH | oklch(68.34% 0.173 300.1) |
| XYZ | xyz(40.1761, 29.5441, 88.3626) |
| Luminance | 0.2954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.52
Light Purple
#BF77F6
ΔE00 3.94
Easter Purple
#C071FE
ΔE00 4.54
Mediumpurple
#9370DB
ΔE00 5.98
Liliac
#C48EFD
ΔE00 6.12
Periwinkle (survey)
#8E82FE
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7CF3 #C4F37C
analogous
#7C89F3 #AB7CF3 #E67CF3
triadic
#AB7CF3 #F3AB7C #7CF3AB
tetradic
#AB7CF3 #F37C89 #C4F37C #7CF3E6
square
#AB7CF3 #F37C89 #C4F37C #7CF3E6
split-complementary
#AB7CF3 #F3E67C #89F37C
monochromatic
#6515E0 #8744EE #AB7CF3 #CFB4F8 #EDE3FC
Accessibility & contrast
On white
3.04
#AB7CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#AB7CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7CF3
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7CF3 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5594F7
Deuteranopia (green-blind)
#6193F0
Tritanopia (blue-blind)
#9D92AC
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ab7cf3; /* rgb */ color: rgb(171, 124, 243); /* oklch */ color: oklch(68.3% 0.173 300.1);
Tailwind
colors: {
custom: {
50: '#c7a3f7',
500: '#ab7cf3',
950: '#000000',
},
}SCSS
$custom: #ab7cf3; $custom-light: #c7a3f7; $custom-dark: #000000;
JSON
{
"hex": "#ab7cf3",
"rgb": {
"r": 171,
"g": 124,
"b": 243
},
"hsl": {
"h": 263.697,
"s": 83.217,
"l": 71.961
},
"oklch": {
"l": 0.68341,
"c": 0.17348,
"h": 300.1
},
"luminance": 0.29544
}Semantic roles & 50–950 ramp
primary
#AB7CF3
secondary
#E9F4D6
accent
#E0068A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85