#AB70E2#AB70E2
#AB70E2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.172 H 306.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AB70E2 |
|---|---|
| RGB | rgb(171, 112, 226) |
| HSL | hsl(271, 66%, 66%) |
| HSV | hsv(271, 50%, 89%) |
| CMYK | cmyk(24.3%, 50.4%, 0%, 11.4%) |
| CIE-LAB | lab(57.79, 44.76, -49.40) |
| CIE-LCH | lch(57.79, 66.67, 312.18°) |
| OKLab | oklab(65.47% 0.1011 -0.1386) |
| OKLCH | oklch(65.47% 0.172 306.1) |
| XYZ | xyz(36.3134, 25.7375, 74.9916) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.04
Light Purple
#BF77F6
ΔE00 4.48
Mediumpurple
#9370DB
ΔE00 4.76
Easter Purple
#C071FE
ΔE00 4.87
Lighter Purple
#A55AF4
ΔE00 6.09
Bright Lavender
#C760FF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB70E2 #A7E270
analogous
#7270E2 #AB70E2 #E270E0
triadic
#AB70E2 #E2AB70 #70E2AB
tetradic
#AB70E2 #E27270 #A7E270 #70E0E2
square
#AB70E2 #E27270 #A7E270 #70E0E2
split-complementary
#AB70E2 #E0E270 #70E272
monochromatic
#6E24B3 #8D3DD8 #AB70E2 #C9A3EC #E7D6F7
Accessibility & contrast
On white
3.42
#AB70E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#AB70E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB70E2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB70E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB70E2 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#5F8BDF
Tritanopia (blue-blind)
#A2849F
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ab70e2; /* rgb */ color: rgb(171, 112, 226); /* oklch */ color: oklch(65.5% 0.172 306.1);
Tailwind
colors: {
custom: {
50: '#c69beb',
500: '#ab70e2',
950: '#000000',
},
}SCSS
$custom: #ab70e2; $custom-light: #c69beb; $custom-dark: #000000;
JSON
{
"hex": "#ab70e2",
"rgb": {
"r": 171,
"g": 112,
"b": 226
},
"hsl": {
"h": 271.053,
"s": 66.279,
"l": 66.275
},
"oklch": {
"l": 0.65469,
"c": 0.17156,
"h": 306.1
},
"luminance": 0.25737
}Semantic roles & 50–950 ramp
primary
#AB70E2
secondary
#D6EAC4
accent
#CE1770
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84