#A862DF#A862DF
#A862DF is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.189 H 307.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A862DF |
|---|---|
| RGB | rgb(168, 98, 223) |
| HSL | hsl(274, 66%, 63%) |
| HSV | hsv(274, 56%, 87%) |
| CMYK | cmyk(24.7%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(54.44, 50.75, -53.07) |
| CIE-LCH | lch(54.44, 73.43, 313.72°) |
| OKLab | oklab(62.87% 0.1154 -0.1493) |
| OKLCH | oklch(62.87% 0.189 307.7) |
| XYZ | xyz(33.8327, 22.3883, 72.3368) |
| Luminance | 0.2239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.65
Lightish Purple
#A552E6
ΔE00 3.89
Mediumorchid
#BA55D3
ΔE00 4.88
Light Urple
#B36FF6
ΔE00 4.95
Amethyst
#9B5FC0
ΔE00 5.35
Mediumpurple
#9370DB
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A862DF #99DF62
analogous
#6962DF #A862DF #DF62D8
triadic
#A862DF #DFA862 #62DFA8
tetradic
#A862DF #DF6962 #99DF62 #62D8DF
square
#A862DF #DF6962 #99DF62 #62D8DF
split-complementary
#A862DF #D8DF62 #62DF69
monochromatic
#6B22A5 #8C2FD5 #A862DF #C495E9 #E0C8F4
Accessibility & contrast
On white
3.83
#A862DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#A862DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A862DF
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A862DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A862DF | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3680E3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#A07997
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a862df; /* rgb */ color: rgb(168, 98, 223); /* oklch */ color: oklch(62.9% 0.189 307.7);
Tailwind
colors: {
custom: {
50: '#c591e9',
500: '#a862df',
950: '#000000',
},
}SCSS
$custom: #a862df; $custom-light: #c591e9; $custom-dark: #000000;
JSON
{
"hex": "#a862df",
"rgb": {
"r": 168,
"g": 98,
"b": 223
},
"hsl": {
"h": 273.6,
"s": 66.138,
"l": 62.941
},
"oklch": {
"l": 0.62869,
"c": 0.18875,
"h": 307.7
},
"luminance": 0.22388
}Semantic roles & 50–950 ramp
primary
#A862DF
secondary
#CCE5B8
accent
#CE1768
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84