#AB7FF0#AB7FF0
#AB7FF0 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.165 H 300.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7FF0 |
|---|---|
| RGB | rgb(171, 127, 240) |
| HSL | hsl(263, 79%, 72%) |
| HSV | hsv(263, 47%, 94%) |
| CMYK | cmyk(28.8%, 47.1%, 0%, 5.9%) |
| CIE-LAB | lab(61.76, 39.84, -50.89) |
| CIE-LCH | lch(61.76, 64.63, 308.06°) |
| OKLab | oklab(68.67% 0.0827 -0.1429) |
| OKLCH | oklch(68.67% 0.165 300.1) |
| XYZ | xyz(40.1085, 30.1277, 86.1233) |
| Luminance | 0.3013 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.25
Light Urple
#B36FF6
ΔE00 4.31
Easter Purple
#C071FE
ΔE00 5.13
Liliac
#C48EFD
ΔE00 5.62
Mediumpurple
#9370DB
ΔE00 6.24
Periwinkle (survey)
#8E82FE
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7FF0 #C4F07F
analogous
#7F8CF0 #AB7FF0 #E47FF0
triadic
#AB7FF0 #F0AB7F #7FF0AB
tetradic
#AB7FF0 #F07F8C #C4F07F #7FF0E4
square
#AB7FF0 #F07F8C #C4F07F #7FF0E4
split-complementary
#AB7FF0 #F0E47F #8CF07F
monochromatic
#651ADB #8748EA #AB7FF0 #CFB6F6 #EDE4FC
Accessibility & contrast
On white
2.99
#AB7FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#AB7FF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB7FF0
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7FF0 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#6694ED
Tritanopia (blue-blind)
#9D94AC
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ab7ff0; /* rgb */ color: rgb(171, 127, 240); /* oklch */ color: oklch(68.7% 0.165 300.1);
Tailwind
colors: {
custom: {
50: '#c7a5f5',
500: '#ab7ff0',
950: '#000000',
},
}SCSS
$custom: #ab7ff0; $custom-light: #c7a5f5; $custom-dark: #000000;
JSON
{
"hex": "#ab7ff0",
"rgb": {
"r": 171,
"g": 127,
"b": 240
},
"hsl": {
"h": 263.363,
"s": 79.021,
"l": 71.961
},
"oklch": {
"l": 0.68667,
"c": 0.16514,
"h": 300.1
},
"luminance": 0.30128
}Semantic roles & 50–950 ramp
primary
#AB7FF0
secondary
#E9F4D7
accent
#DB0A8A
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85