#AB79FC#AB79FC
#AB79FC is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.189 H 298.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AB79FC |
|---|---|
| RGB | rgb(171, 121, 252) |
| HSL | hsl(263, 96%, 73%) |
| HSV | hsv(263, 52%, 99%) |
| CMYK | cmyk(32.1%, 52%, 0%, 1.2%) |
| CIE-LAB | lab(61.10, 46.08, -58.57) |
| CIE-LCH | lch(61.10, 74.52, 308.19°) |
| OKLab | oklab(68.38% 0.0915 -0.1654) |
| OKLCH | oklch(68.38% 0.189 298.9) |
| XYZ | xyz(41.1984, 29.3606, 95.5732) |
| Luminance | 0.2936 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.11
Easter Purple
#C071FE
ΔE00 4.16
Light Purple
#BF77F6
ΔE00 4.19
Mediumpurple
#9370DB
ΔE00 6.34
Periwinkle (survey)
#8E82FE
ΔE00 6.46
Bright Lavender
#C760FF
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB79FC #CAFC79
analogous
#7988FC #AB79FC #ED79FC
triadic
#AB79FC #FCAB79 #79FCAB
tetradic
#AB79FC #FC7988 #CAFC79 #79FCED
square
#AB79FC #FC7988 #CAFC79 #79FCED
split-complementary
#AB79FC #FCED79 #88FC79
monochromatic
#6105F5 #853DFB #AB79FC #D1B5FD #ECE1FE
Accessibility & contrast
On white
3.06
#AB79FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#AB79FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB79FC
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB79FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB79FC | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5692F9
Tritanopia (blue-blind)
#9A93AF
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ab79fc; /* rgb */ color: rgb(171, 121, 252); /* oklch */ color: oklch(68.4% 0.189 298.9);
Tailwind
colors: {
custom: {
50: '#c8a1fe',
500: '#ab79fc',
950: '#000000',
},
}SCSS
$custom: #ab79fc; $custom-light: #c8a1fe; $custom-dark: #000000;
JSON
{
"hex": "#ab79fc",
"rgb": {
"r": 171,
"g": 121,
"b": 252
},
"hsl": {
"h": 262.901,
"s": 95.62,
"l": 73.137
},
"oklch": {
"l": 0.68379,
"c": 0.18899,
"h": 298.9
},
"luminance": 0.29361
}Semantic roles & 50–950 ramp
primary
#AB79FC
secondary
#EAF7D4
accent
#E6008E
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86