#862CE3#862CE3
#862CE3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 53.1% C 0.250 H 299.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #862CE3 |
|---|---|
| RGB | rgb(134, 44, 227) |
| HSL | hsl(270, 77%, 53%) |
| HSV | hsv(270, 81%, 89%) |
| CMYK | cmyk(41%, 80.6%, 0%, 11%) |
| CIE-LAB | lab(41.87, 69.18, -75.88) |
| CIE-LCH | lch(41.87, 102.68, 312.36°) |
| OKLab | oklab(53.07% 0.1237 -0.2171) |
| OKLCH | oklch(53.07% 0.25 299.7) |
| XYZ | xyz(24.5938, 12.4154, 73.7588) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 0.65
Violet (survey)
#9A0EEA
ΔE00 3.14
Violet
#8F00FF
ΔE00 3.51
Vivid Purple
#9900FA
ΔE00 3.71
Bluish Purple
#703BE7
ΔE00 3.75
Burple
#6832E3
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862CE3 #89E32C
analogous
#2C2DE3 #862CE3 #E12CE3
triadic
#862CE3 #E3862C #2CE386
tetradic
#862CE3 #E32C2D #89E32C #2CE3E1
square
#862CE3 #E32C2D #89E32C #2CE3E1
split-complementary
#862CE3 #E3E12C #2DE32C
monochromatic
#491183 #6819B9 #862CE3 #A562EA #C498F1
Accessibility & contrast
On white
6.03
#862CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#862CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862CE3
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862CE3 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062E8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#6F6089
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #862ce3; /* rgb */ color: rgb(134, 44, 227); /* oklch */ color: oklch(53.1% 0.250 299.7);
Tailwind
colors: {
custom: {
50: '#b271ed',
500: '#862ce3',
950: '#000000',
},
}SCSS
$custom: #862ce3; $custom-light: #b271ed; $custom-dark: #000000;
JSON
{
"hex": "#862ce3",
"rgb": {
"r": 134,
"g": 44,
"b": 227
},
"hsl": {
"h": 269.508,
"s": 76.569,
"l": 53.137
},
"oklch": {
"l": 0.53071,
"c": 0.24985,
"h": 299.7
},
"luminance": 0.12416
}Semantic roles & 50–950 ramp
primary
#862CE3
secondary
#B6DD8E
accent
#F33595
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120816
muted
#817B84