#862AB6#862AB6
#862AB6 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.210 H 310.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #862AB6 |
|---|---|
| RGB | rgb(134, 42, 182) |
| HSL | hsl(279, 63%, 44%) |
| HSV | hsv(279, 77%, 71%) |
| CMYK | cmyk(26.4%, 76.9%, 0%, 28.6%) |
| CIE-LAB | lab(38.03, 60.01, -56.04) |
| CIE-LCH | lch(38.03, 82.10, 316.96°) |
| OKLab | oklab(49.27% 0.1368 -0.1588) |
| OKLCH | oklch(49.27% 0.21 310.7) |
| XYZ | xyz(19.1013, 10.1021, 45.1906) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.39
Purple (survey)
#7E1E9C
ΔE00 4.63
Darkorchid
#9932CC
ΔE00 4.95
Purply
#983FB2
ΔE00 5.95
Blueviolet
#8A2BE2
ΔE00 6.24
Rebeccapurple
#663399
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862AB6 #5AB62A
analogous
#402AB6 #862AB6 #B62AA0
triadic
#862AB6 #B6862A #2AB686
tetradic
#862AB6 #B6402A #5AB62A #2AA0B6
square
#862AB6 #B6402A #5AB62A #2AA0B6
split-complementary
#862AB6 #A0B62A #2AB640
monochromatic
#3D1353 #611F84 #862AB6 #A548D5 #BD7AE0
Accessibility & contrast
On white
6.95
#862AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#862AB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862AB6
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862AB6 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#035BB3
Tritanopia (blue-blind)
#7F4C6F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #862ab6; /* rgb */ color: rgb(134, 42, 182); /* oklch */ color: oklch(49.3% 0.210 310.7);
Tailwind
colors: {
custom: {
50: '#ae6ecd',
500: '#862ab6',
950: '#000000',
},
}SCSS
$custom: #862ab6; $custom-light: #ae6ecd; $custom-dark: #000000;
JSON
{
"hex": "#862ab6",
"rgb": {
"r": 134,
"g": 42,
"b": 182
},
"hsl": {
"h": 279.429,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.49273,
"c": 0.20965,
"h": 310.7
},
"luminance": 0.10102
}Semantic roles & 50–950 ramp
primary
#862AB6
secondary
#91C873
accent
#E6427A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82