#862BCC#862BCC
#862BCC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.1% C 0.229 H 304.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #862BCC |
|---|---|
| RGB | rgb(134, 43, 204) |
| HSL | hsl(274, 65%, 48%) |
| HSV | hsv(274, 79%, 80%) |
| CMYK | cmyk(34.3%, 78.9%, 0%, 20%) |
| CIE-LAB | lab(39.84, 64.39, -65.97) |
| CIE-LCH | lch(39.84, 92.18, 314.31°) |
| OKLab | oklab(51.07% 0.131 -0.188) |
| OKLCH | oklch(51.07% 0.229 304.9) |
| XYZ | xyz(21.5920, 11.1558, 58.1308) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.01
Blueviolet
#8A2BE2
ΔE00 3.04
Darkorchid
#9932CC
ΔE00 3.95
Violet (survey)
#9A0EEA
ΔE00 4.52
Burple
#6832E3
ΔE00 5.69
Bluish Purple
#703BE7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862BCC #71CC2B
analogous
#352BCC #862BCC #CC2BC1
triadic
#862BCC #CC862B #2BCC86
tetradic
#862BCC #CC352B #71CC2B #2BC1CC
square
#862BCC #CC352B #71CC2B #2BC1CC
split-complementary
#862BCC #C1CC2B #2BCC35
monochromatic
#441667 #652099 #862BCC #A358DC #BF8BE7
Accessibility & contrast
On white
6.50
#862BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#862BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862BCC
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862BCC | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#79567C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #862bcc; /* rgb */ color: rgb(134, 43, 204); /* oklch */ color: oklch(51.1% 0.229 304.9);
Tailwind
colors: {
custom: {
50: '#b06fdd',
500: '#862bcc',
950: '#000000',
},
}SCSS
$custom: #862bcc; $custom-light: #b06fdd; $custom-dark: #000000;
JSON
{
"hex": "#862bcc",
"rgb": {
"r": 134,
"g": 43,
"b": 204
},
"hsl": {
"h": 273.913,
"s": 65.182,
"l": 48.431
},
"oklch": {
"l": 0.51074,
"c": 0.22913,
"h": 304.9
},
"luminance": 0.11156
}Semantic roles & 50–950 ramp
primary
#862BCC
secondary
#A4D082
accent
#E84089
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83