#862ABF#862ABF
#862ABF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.218 H 308.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #862ABF |
|---|---|
| RGB | rgb(134, 42, 191) |
| HSL | hsl(277, 64%, 46%) |
| HSV | hsv(277, 78%, 75%) |
| CMYK | cmyk(29.8%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(38.70, 61.92, -60.24) |
| CIE-LCH | lch(38.70, 86.39, 315.79°) |
| OKLab | oklab(49.96% 0.1349 -0.1712) |
| OKLCH | oklch(49.96% 0.218 308.2) |
| XYZ | xyz(20.0615, 10.4862, 50.2473) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.50
Darkorchid
#9932CC
ΔE00 4.33
Blueviolet
#8A2BE2
ΔE00 4.91
Purple (survey)
#7E1E9C
ΔE00 5.86
Violet (survey)
#9A0EEA
ΔE00 5.98
Purply
#983FB2
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862ABF #63BF2A
analogous
#3C2ABF #862ABF #BF2AAD
triadic
#862ABF #BF862A #2ABF86
tetradic
#862ABF #BF3C2A #63BF2A #2AADBF
square
#862ABF #BF3C2A #63BF2A #2AADBF
split-complementary
#862ABF #ADBF2A #2ABF3C
monochromatic
#40145B #631F8D #862ABF #A34ED8 #BD80E3
Accessibility & contrast
On white
6.78
#862ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#862ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862ABF
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862ABF | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#7D5074
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #862abf; /* rgb */ color: rgb(134, 42, 191); /* oklch */ color: oklch(50.0% 0.218 308.2);
Tailwind
colors: {
custom: {
50: '#af6ed3',
500: '#862abf',
950: '#000000',
},
}SCSS
$custom: #862abf; $custom-light: #af6ed3; $custom-dark: #000000;
JSON
{
"hex": "#862abf",
"rgb": {
"r": 134,
"g": 42,
"b": 191
},
"hsl": {
"h": 277.047,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.49959,
"c": 0.21796,
"h": 308.2
},
"luminance": 0.10486
}Semantic roles & 50–950 ramp
primary
#862ABF
secondary
#99CC79
accent
#E74180
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83