#862FB5#862FB5
#862FB5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 310.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #862FB5 |
|---|---|
| RGB | rgb(134, 47, 181) |
| HSL | hsl(279, 59%, 45%) |
| HSV | hsv(279, 74%, 71%) |
| CMYK | cmyk(26%, 74%, 0%, 29%) |
| CIE-LAB | lab(38.62, 57.89, -54.49) |
| CIE-LCH | lch(38.62, 79.50, 316.73°) |
| OKLab | oklab(49.67% 0.1325 -0.1543) |
| OKLCH | oklch(49.67% 0.203 310.6) |
| XYZ | xyz(19.1869, 10.4380, 44.7111) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.67
Darkviolet
#9400D3
ΔE00 4.81
Purple (survey)
#7E1E9C
ΔE00 4.94
Purply
#983FB2
ΔE00 5.36
Blueviolet
#8A2BE2
ΔE00 6.27
Rebeccapurple
#663399
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862FB5 #5EB52F
analogous
#432FB5 #862FB5 #B52FA1
triadic
#862FB5 #B5862F #2FB586
tetradic
#862FB5 #B5432F #5EB52F #2FA1B5
square
#862FB5 #B5432F #5EB52F #2FA1B5
split-complementary
#862FB5 #A1B52F #2FB543
monochromatic
#3E1654 #622284 #862FB5 #A450D1 #BD80DE
Accessibility & contrast
On white
6.80
#862FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#862FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862FB5
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862FB5 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#804E70
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #862fb5; /* rgb */ color: rgb(134, 47, 181); /* oklch */ color: oklch(49.7% 0.203 310.6);
Tailwind
colors: {
custom: {
50: '#ae70cc',
500: '#862fb5',
950: '#000000',
},
}SCSS
$custom: #862fb5; $custom-light: #ae70cc; $custom-dark: #000000;
JSON
{
"hex": "#862fb5",
"rgb": {
"r": 134,
"g": 47,
"b": 181
},
"hsl": {
"h": 278.955,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.49668,
"c": 0.20336,
"h": 310.6
},
"luminance": 0.10438
}Semantic roles & 50–950 ramp
primary
#862FB5
secondary
#94C779
accent
#E2467D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82