#A862DB#A862DB
#A862DB is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.184 H 308.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A862DB |
|---|---|
| RGB | rgb(168, 98, 219) |
| HSL | hsl(275, 63%, 62%) |
| HSV | hsv(275, 55%, 86%) |
| CMYK | cmyk(23.3%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(54.21, 49.84, -51.17) |
| CIE-LCH | lch(54.21, 71.43, 314.25°) |
| OKLab | oklab(62.63% 0.1153 -0.1438) |
| OKLCH | oklch(62.63% 0.184 308.7) |
| XYZ | xyz(33.2998, 22.1752, 69.5301) |
| Luminance | 0.2218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.10
Lighter Purple
#A55AF4
ΔE00 4.22
Mediumorchid
#BA55D3
ΔE00 4.52
Amethyst
#9B5FC0
ΔE00 4.80
Light Urple
#B36FF6
ΔE00 5.38
Mediumpurple
#9370DB
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A862DB #95DB62
analogous
#6C62DB #A862DB #DB62D1
triadic
#A862DB #DBA862 #62DBA8
tetradic
#A862DB #DB6C62 #95DB62 #62D1DB
square
#A862DB #DB6C62 #95DB62 #62D1DB
split-complementary
#A862DB #D1DB62 #62DB6C
monochromatic
#6B249E #8C30D0 #A862DB #C494E6 #DFC6F2
Accessibility & contrast
On white
3.86
#A862DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#A862DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A862DB
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A862DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A862DB | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#5383D8
Tritanopia (blue-blind)
#A17895
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a862db; /* rgb */ color: rgb(168, 98, 219); /* oklch */ color: oklch(62.6% 0.184 308.7);
Tailwind
colors: {
custom: {
50: '#c591e7',
500: '#a862db',
950: '#000000',
},
}SCSS
$custom: #a862db; $custom-light: #c591e7; $custom-dark: #000000;
JSON
{
"hex": "#a862db",
"rgb": {
"r": 168,
"g": 98,
"b": 219
},
"hsl": {
"h": 274.711,
"s": 62.694,
"l": 62.157
},
"oklch": {
"l": 0.62632,
"c": 0.18429,
"h": 308.7
},
"luminance": 0.22175
}Semantic roles & 50–950 ramp
primary
#A862DB
secondary
#C9E3B6
accent
#CA1B65
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84