#862CC5#862CC5
#862CC5 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.222 H 306.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #862CC5 |
|---|---|
| RGB | rgb(134, 44, 197) |
| HSL | hsl(275, 63%, 47%) |
| HSV | hsv(275, 78%, 77%) |
| CMYK | cmyk(32%, 77.7%, 0%, 22.7%) |
| CIE-LAB | lab(39.41, 62.50, -62.59) |
| CIE-LCH | lch(39.41, 88.45, 314.96°) |
| OKLab | oklab(50.6% 0.1319 -0.1781) |
| OKLCH | oklch(50.6% 0.222 306.5) |
| XYZ | xyz(20.8080, 10.9011, 53.8204) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.27
Darkorchid
#9932CC
ΔE00 3.93
Blueviolet
#8A2BE2
ΔE00 3.97
Violet (survey)
#9A0EEA
ΔE00 5.27
Burple
#6832E3
ΔE00 6.41
Purply
#983FB2
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862CC5 #6BC52C
analogous
#3A2CC5 #862CC5 #C52CB8
triadic
#862CC5 #C5862C #2CC586
tetradic
#862CC5 #C53A2C #6BC52C #2CB8C5
square
#862CC5 #C53A2C #6BC52C #2CB8C5
split-complementary
#862CC5 #B8C52C #2CC53A
monochromatic
#421661 #642193 #862CC5 #A355D9 #BE87E4
Accessibility & contrast
On white
6.60
#862CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#862CC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862CC5
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862CC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862CC5 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#7B5378
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #862cc5; /* rgb */ color: rgb(134, 44, 197); /* oklch */ color: oklch(50.6% 0.222 306.5);
Tailwind
colors: {
custom: {
50: '#af70d8',
500: '#862cc5',
950: '#000000',
},
}SCSS
$custom: #862cc5; $custom-light: #af70d8; $custom-dark: #000000;
JSON
{
"hex": "#862cc5",
"rgb": {
"r": 134,
"g": 44,
"b": 197
},
"hsl": {
"h": 275.294,
"s": 63.485,
"l": 47.255
},
"oklch": {
"l": 0.50603,
"c": 0.22164,
"h": 306.5
},
"luminance": 0.10901
}Semantic roles & 50–950 ramp
primary
#862CC5
secondary
#9FCE7F
accent
#E74185
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83