#862FC4#862FC4
#862FC4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.218 H 306.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #862FC4 |
|---|---|
| RGB | rgb(134, 47, 196) |
| HSL | hsl(275, 61%, 48%) |
| HSV | hsv(275, 76%, 77%) |
| CMYK | cmyk(31.6%, 76%, 0%, 23.1%) |
| CIE-LAB | lab(39.73, 61.15, -61.50) |
| CIE-LCH | lch(39.73, 86.73, 314.84°) |
| OKLab | oklab(50.8% 0.1296 -0.1749) |
| OKLCH | oklch(50.8% 0.218 306.5) |
| XYZ | xyz(20.8097, 11.0871, 53.2576) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.60
Darkorchid
#9932CC
ΔE00 3.73
Blueviolet
#8A2BE2
ΔE00 4.03
Violet (survey)
#9A0EEA
ΔE00 5.40
Purply
#983FB2
ΔE00 6.24
Burple
#6832E3
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862FC4 #6DC42F
analogous
#3C2FC4 #862FC4 #C42FB7
triadic
#862FC4 #C4862F #2FC486
tetradic
#862FC4 #C43C2F #6DC42F #2FB7C4
square
#862FC4 #C43C2F #6DC42F #2FB7C4
split-complementary
#862FC4 #B7C42F #2FC43C
monochromatic
#431761 #642393 #862FC4 #A359D7 #BE8AE3
Accessibility & contrast
On white
6.53
#862FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#862FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862FC4
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862FC4 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#7B5478
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #862fc4; /* rgb */ color: rgb(134, 47, 196); /* oklch */ color: oklch(50.8% 0.218 306.5);
Tailwind
colors: {
custom: {
50: '#af71d7',
500: '#862fc4',
950: '#000000',
},
}SCSS
$custom: #862fc4; $custom-light: #af71d7; $custom-dark: #000000;
JSON
{
"hex": "#862fc4",
"rgb": {
"r": 134,
"g": 47,
"b": 196
},
"hsl": {
"h": 275.034,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.50799,
"c": 0.2177,
"h": 306.5
},
"luminance": 0.11087
}Semantic roles & 50–950 ramp
primary
#862FC4
secondary
#A1CD82
accent
#E44386
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83