#AB71F1#AB71F1
#AB71F1 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.188 H 302.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AB71F1 |
|---|---|
| RGB | rgb(171, 113, 241) |
| HSL | hsl(267, 82%, 69%) |
| HSV | hsv(267, 53%, 95%) |
| CMYK | cmyk(29%, 53.1%, 0%, 5.5%) |
| CIE-LAB | lab(58.81, 47.74, -56.15) |
| CIE-LCH | lch(58.81, 73.70, 310.38°) |
| OKLab | oklab(66.49% 0.1009 -0.1583) |
| OKLCH | oklch(66.49% 0.188 302.5) |
| XYZ | xyz(38.5733, 26.8190, 86.3465) |
| Luminance | 0.2682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.52
Easter Purple
#C071FE
ΔE00 3.78
Light Purple
#BF77F6
ΔE00 3.96
Mediumpurple
#9370DB
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 5.51
Lighter Purple
#A55AF4
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB71F1 #B7F171
analogous
#7177F1 #AB71F1 #EB71F1
triadic
#AB71F1 #F1AB71 #71F1AB
tetradic
#AB71F1 #F17177 #B7F171 #71F1EB
square
#AB71F1 #F17177 #B7F171 #71F1EB
split-complementary
#AB71F1 #F1EB71 #77F171
monochromatic
#6B15D3 #8A39EC #AB71F1 #CCA9F6 #EDE0FC
Accessibility & contrast
On white
3.30
#AB71F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#AB71F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB71F1
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB71F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB71F1 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438CF5
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#9E89A6
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ab71f1; /* rgb */ color: rgb(171, 113, 241); /* oklch */ color: oklch(66.5% 0.188 302.5);
Tailwind
colors: {
custom: {
50: '#c79bf6',
500: '#ab71f1',
950: '#000000',
},
}SCSS
$custom: #ab71f1; $custom-light: #c79bf6; $custom-dark: #000000;
JSON
{
"hex": "#ab71f1",
"rgb": {
"r": 171,
"g": 113,
"b": 241
},
"hsl": {
"h": 267.188,
"s": 82.051,
"l": 69.412
},
"oklch": {
"l": 0.66486,
"c": 0.18771,
"h": 302.5
},
"luminance": 0.26819
}Semantic roles & 50–950 ramp
primary
#AB71F1
secondary
#E1F1CC
accent
#DE077D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85