#AB92EA#AB92EA
#AB92EA is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.7% C 0.128 H 296.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB92EA |
|---|---|
| RGB | rgb(171, 146, 234) |
| HSL | hsl(257, 68%, 75%) |
| HSV | hsv(257, 38%, 92%) |
| CMYK | cmyk(26.9%, 37.6%, 0%, 8.2%) |
| CIE-LAB | lab(65.87, 27.71, -41.11) |
| CIE-LCH | lch(65.87, 49.57, 303.99°) |
| OKLab | oklab(71.67% 0.0561 -0.1146) |
| OKLCH | oklch(71.67% 0.128 296.1) |
| XYZ | xyz(41.9212, 35.1557, 82.4031) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.57
Lavender
#B39DDB
ΔE00 5.71
Perrywinkle
#8F8CE7
ΔE00 6.06
Baby Purple
#CA9BF7
ΔE00 6.10
Pale Purple
#B790D4
ΔE00 6.25
Pastel Purple
#CAA0FF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB92EA #D1EA92
analogous
#92A5EA #AB92EA #D792EA
triadic
#AB92EA #EAAB92 #92EAAB
tetradic
#AB92EA #EA92A5 #D1EA92 #92EAD7
square
#AB92EA #EA92A5 #D1EA92 #92EAD7
split-complementary
#AB92EA #EAD792 #A5EA92
monochromatic
#5C2BD6 #835FE0 #AB92EA #D3C5F4 #EBE5FA
Accessibility & contrast
On white
2.61
#AB92EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#AB92EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB92EA
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB92EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB92EA | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA1ED
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#9EA1B3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ab92ea; /* rgb */ color: rgb(171, 146, 234); /* oklch */ color: oklch(71.7% 0.128 296.1);
Tailwind
colors: {
custom: {
50: '#c6b2f1',
500: '#ab92ea',
950: '#000000',
},
}SCSS
$custom: #ab92ea; $custom-light: #c6b2f1; $custom-dark: #000000;
JSON
{
"hex": "#ab92ea",
"rgb": {
"r": 171,
"g": 146,
"b": 234
},
"hsl": {
"h": 257.045,
"s": 67.692,
"l": 74.51
},
"oklch": {
"l": 0.71672,
"c": 0.12757,
"h": 296.1
},
"luminance": 0.35156
}Semantic roles & 50–950 ramp
primary
#AB92EA
secondary
#EBF2D9
accent
#D0169B
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085