#A862CD#A862CD
#A862CD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.169 H 312.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A862CD |
|---|---|
| RGB | rgb(168, 98, 205) |
| HSL | hsl(279, 52%, 59%) |
| HSV | hsv(279, 52%, 80%) |
| CMYK | cmyk(18%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(53.46, 46.75, -44.42) |
| CIE-LCH | lch(53.46, 64.49, 316.46°) |
| OKLab | oklab(61.83% 0.1144 -0.1241) |
| OKLCH | oklch(61.83% 0.169 312.7) |
| XYZ | xyz(31.5337, 21.4687, 60.2285) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.19
Mediumorchid
#BA55D3
ΔE00 3.87
Deep Lilac
#966EBD
ΔE00 5.41
Lightish Purple
#A552E6
ΔE00 5.56
Deep Lavender
#8D5EB7
ΔE00 6.19
Soft Purple
#A66FB5
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A862CD #87CD62
analogous
#7362CD #A862CD #CD62BD
triadic
#A862CD #CDA862 #62CDA8
tetradic
#A862CD #CD7362 #87CD62 #62BDCD
square
#A862CD #CD7362 #87CD62 #62BDCD
split-complementary
#A862CD #BDCD62 #62CD73
monochromatic
#692C89 #8C3AB7 #A862CD #C290DC #DBBFEB
Accessibility & contrast
On white
3.97
#A862CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#A862CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A862CD
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A862CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A862CD | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#A4748E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a862cd; /* rgb */ color: rgb(168, 98, 205); /* oklch */ color: oklch(61.8% 0.169 312.7);
Tailwind
colors: {
custom: {
50: '#c491dd',
500: '#a862cd',
950: '#000000',
},
}SCSS
$custom: #a862cd; $custom-light: #c491dd; $custom-dark: #000000;
JSON
{
"hex": "#a862cd",
"rgb": {
"r": 168,
"g": 98,
"b": 205
},
"hsl": {
"h": 279.252,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.61833,
"c": 0.16874,
"h": 312.7
},
"luminance": 0.21468
}Semantic roles & 50–950 ramp
primary
#A862CD
secondary
#BFDAB1
accent
#DB4D7E
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83