#862EE3#862EE3
#862EE3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.2% C 0.248 H 299.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #862EE3 |
|---|---|
| RGB | rgb(134, 46, 227) |
| HSL | hsl(269, 76%, 54%) |
| HSV | hsv(269, 80%, 89%) |
| CMYK | cmyk(41%, 79.7%, 0%, 11%) |
| CIE-LAB | lab(42.11, 68.49, -75.49) |
| CIE-LCH | lch(42.11, 101.93, 312.22°) |
| OKLab | oklab(53.23% 0.1223 -0.216) |
| OKLCH | oklch(53.23% 0.248 299.5) |
| XYZ | xyz(24.6701, 12.5681, 73.7843) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 0.68
Violet (survey)
#9A0EEA
ΔE00 3.23
Violet
#8F00FF
ΔE00 3.60
Bluish Purple
#703BE7
ΔE00 3.65
Vivid Purple
#9900FA
ΔE00 3.76
Burple
#6832E3
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862EE3 #8BE32E
analogous
#2E30E3 #862EE3 #E02EE3
triadic
#862EE3 #E3862E #2EE386
tetradic
#862EE3 #E32E30 #8BE32E #2EE3E0
square
#862EE3 #E32E30 #8BE32E #2EE3E0
split-complementary
#862EE3 #E3E02E #30E32E
monochromatic
#4A1285 #6819BB #862EE3 #A564EA #C49AF1
Accessibility & contrast
On white
5.98
#862EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#862EE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862EE3
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862EE3 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#6F618A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #862ee3; /* rgb */ color: rgb(134, 46, 227); /* oklch */ color: oklch(53.2% 0.248 299.5);
Tailwind
colors: {
custom: {
50: '#b172ed',
500: '#862ee3',
950: '#000000',
},
}SCSS
$custom: #862ee3; $custom-light: #b172ed; $custom-dark: #000000;
JSON
{
"hex": "#862ee3",
"rgb": {
"r": 134,
"g": 46,
"b": 227
},
"hsl": {
"h": 269.171,
"s": 76.371,
"l": 53.529
},
"oklch": {
"l": 0.53234,
"c": 0.24821,
"h": 299.5
},
"luminance": 0.12568
}Semantic roles & 50–950 ramp
primary
#862EE3
secondary
#B7DD90
accent
#F33597
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84