#862FC3#862FC3
#862FC3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.217 H 306.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #862FC3 |
|---|---|
| RGB | rgb(134, 47, 195) |
| HSL | hsl(275, 61%, 47%) |
| HSV | hsv(275, 76%, 76%) |
| CMYK | cmyk(31.3%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(39.65, 60.93, -61.04) |
| CIE-LCH | lch(39.65, 86.25, 314.95°) |
| OKLab | oklab(50.72% 0.1298 -0.1736) |
| OKLCH | oklch(50.72% 0.217 306.8) |
| XYZ | xyz(20.6962, 11.0417, 52.6602) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.65
Darkorchid
#9932CC
ΔE00 3.76
Blueviolet
#8A2BE2
ΔE00 4.17
Violet (survey)
#9A0EEA
ΔE00 5.51
Purply
#983FB2
ΔE00 6.16
Burple
#6832E3
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862FC3 #6CC32F
analogous
#3C2FC3 #862FC3 #C32FB6
triadic
#862FC3 #C3862F #2FC386
tetradic
#862FC3 #C33C2F #6CC32F #2FB6C3
square
#862FC3 #C33C2F #6CC32F #2FB6C3
split-complementary
#862FC3 #B6C32F #2FC33C
monochromatic
#421760 #642392 #862FC3 #A358D7 #BE8AE3
Accessibility & contrast
On white
6.55
#862FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#862FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862FC3
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862FC3 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#7B5478
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #862fc3; /* rgb */ color: rgb(134, 47, 195); /* oklch */ color: oklch(50.7% 0.217 306.8);
Tailwind
colors: {
custom: {
50: '#af71d6',
500: '#862fc3',
950: '#000000',
},
}SCSS
$custom: #862fc3; $custom-light: #af71d6; $custom-dark: #000000;
JSON
{
"hex": "#862fc3",
"rgb": {
"r": 134,
"g": 47,
"b": 195
},
"hsl": {
"h": 275.27,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.50721,
"c": 0.21674,
"h": 306.8
},
"luminance": 0.11041
}Semantic roles & 50–950 ramp
primary
#862FC3
secondary
#A0CD81
accent
#E44486
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83