#AB76F6#AB76F6
#AB76F6 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.6% C 0.186 H 300.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AB76F6 |
|---|---|
| RGB | rgb(171, 118, 246) |
| HSL | hsl(265, 88%, 71%) |
| HSV | hsv(265, 52%, 96%) |
| CMYK | cmyk(30.5%, 52%, 0%, 3.5%) |
| CIE-LAB | lab(60.13, 46.24, -56.80) |
| CIE-LCH | lch(60.13, 73.25, 309.15°) |
| OKLab | oklab(67.55% 0.0949 -0.1602) |
| OKLCH | oklch(67.55% 0.186 300.6) |
| XYZ | xyz(39.9037, 28.2684, 90.5250) |
| Luminance | 0.2827 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.23
Easter Purple
#C071FE
ΔE00 3.82
Light Purple
#BF77F6
ΔE00 3.82
Mediumpurple
#9370DB
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 6.24
Bright Lilac
#C95EFB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB76F6 #C1F676
analogous
#7681F6 #AB76F6 #EB76F6
triadic
#AB76F6 #F6AB76 #76F6AB
tetradic
#AB76F6 #F67681 #C1F676 #76F6EB
square
#AB76F6 #F67681 #C1F676 #76F6EB
split-complementary
#AB76F6 #F6EB76 #81F676
monochromatic
#670FE3 #883DF2 #AB76F6 #CEAFFA #EDE2FD
Accessibility & contrast
On white
3.16
#AB76F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#AB76F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB76F6
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB76F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB76F6 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4890FA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#9C8FAB
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #ab76f6; /* rgb */ color: rgb(171, 118, 246); /* oklch */ color: oklch(67.6% 0.186 300.6);
Tailwind
colors: {
custom: {
50: '#c79ffa',
500: '#ab76f6',
950: '#000000',
},
}SCSS
$custom: #ab76f6; $custom-light: #c79ffa; $custom-dark: #000000;
JSON
{
"hex": "#ab76f6",
"rgb": {
"r": 171,
"g": 118,
"b": 246
},
"hsl": {
"h": 264.844,
"s": 87.671,
"l": 71.373
},
"oklch": {
"l": 0.67555,
"c": 0.1862,
"h": 300.6
},
"luminance": 0.28269
}Semantic roles & 50–950 ramp
primary
#AB76F6
secondary
#E7F5D3
accent
#E40186
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85