#862CC3#862CC3
#862CC3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.220 H 307.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #862CC3 |
|---|---|
| RGB | rgb(134, 44, 195) |
| HSL | hsl(276, 63%, 47%) |
| HSV | hsv(276, 77%, 76%) |
| CMYK | cmyk(31.3%, 77.4%, 0%, 23.5%) |
| CIE-LAB | lab(39.26, 62.06, -61.68) |
| CIE-LCH | lch(39.26, 87.50, 315.18°) |
| OKLab | oklab(50.45% 0.1324 -0.1754) |
| OKLCH | oklch(50.45% 0.22 307) |
| XYZ | xyz(20.5804, 10.8101, 52.6215) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.37
Darkorchid
#9932CC
ΔE00 3.99
Blueviolet
#8A2BE2
ΔE00 4.26
Violet (survey)
#9A0EEA
ΔE00 5.49
Purply
#983FB2
ΔE00 6.42
Purple (survey)
#7E1E9C
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862CC3 #69C32C
analogous
#3B2CC3 #862CC3 #C32CB5
triadic
#862CC3 #C3862C #2CC386
tetradic
#862CC3 #C33B2C #69C32C #2CB5C3
square
#862CC3 #C33B2C #69C32C #2CB5C3
split-complementary
#862CC3 #B5C32C #2CC33B
monochromatic
#41155F #642191 #862CC3 #A354D8 #BE86E4
Accessibility & contrast
On white
6.64
#862CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#862CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862CC3
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862CC3 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7C5277
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #862cc3; /* rgb */ color: rgb(134, 44, 195); /* oklch */ color: oklch(50.4% 0.220 307.0);
Tailwind
colors: {
custom: {
50: '#af6fd6',
500: '#862cc3',
950: '#000000',
},
}SCSS
$custom: #862cc3; $custom-light: #af6fd6; $custom-dark: #000000;
JSON
{
"hex": "#862cc3",
"rgb": {
"r": 134,
"g": 44,
"b": 195
},
"hsl": {
"h": 275.762,
"s": 63.18,
"l": 46.863
},
"oklch": {
"l": 0.50446,
"c": 0.21975,
"h": 307
},
"luminance": 0.1081
}Semantic roles & 50–950 ramp
primary
#862CC3
secondary
#9ECD7E
accent
#E64284
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83