#AB82DC#AB82DC
#AB82DC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.1% C 0.135 H 304.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AB82DC |
|---|---|
| RGB | rgb(171, 130, 220) |
| HSL | hsl(267, 56%, 69%) |
| HSV | hsv(267, 41%, 86%) |
| CMYK | cmyk(22.3%, 40.9%, 0%, 13.7%) |
| CIE-LAB | lab(61.47, 33.41, -40.23) |
| CIE-LCH | lch(61.47, 52.30, 309.71°) |
| OKLab | oklab(68.13% 0.0756 -0.112) |
| OKLCH | oklch(68.13% 0.135 304) |
| XYZ | xyz(37.6928, 29.7906, 71.4607) |
| Luminance | 0.2979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.08
Pale Purple
#B790D4
ΔE00 5.68
Light Purple
#BF77F6
ΔE00 5.85
Liliac
#C48EFD
ΔE00 6.28
Light Urple
#B36FF6
ΔE00 6.65
Mediumpurple
#9370DB
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB82DC #B3DC82
analogous
#8286DC #AB82DC #D882DC
triadic
#AB82DC #DCAB82 #82DCAB
tetradic
#AB82DC #DC8286 #B3DC82 #82DCD8
square
#AB82DC #DC8286 #B3DC82 #82DCD8
split-complementary
#AB82DC #DCD882 #86DC82
monochromatic
#6C32B2 #8B52CF #AB82DC #CBB2E9 #EBE2F7
Accessibility & contrast
On white
3.02
#AB82DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#AB82DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB82DC
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB82DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB82DC | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#7594DA
Tritanopia (blue-blind)
#A391A5
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ab82dc; /* rgb */ color: rgb(171, 130, 220); /* oklch */ color: oklch(68.1% 0.135 304.0);
Tailwind
colors: {
custom: {
50: '#c5a7e7',
500: '#ab82dc',
950: '#000000',
},
}SCSS
$custom: #ab82dc; $custom-light: #c5a7e7; $custom-dark: #000000;
JSON
{
"hex": "#ab82dc",
"rgb": {
"r": 171,
"g": 130,
"b": 220
},
"hsl": {
"h": 267.333,
"s": 56.25,
"l": 68.627
},
"oklch": {
"l": 0.68132,
"c": 0.13513,
"h": 304
},
"luminance": 0.2979
}Semantic roles & 50–950 ramp
primary
#AB82DC
secondary
#DEEACF
accent
#C4227A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84