#862FC0#862FC0
#862FC0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.214 H 307.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #862FC0 |
|---|---|
| RGB | rgb(134, 47, 192) |
| HSL | hsl(276, 61%, 47%) |
| HSV | hsv(276, 76%, 75%) |
| CMYK | cmyk(30.2%, 75.5%, 0%, 24.7%) |
| CIE-LAB | lab(39.42, 60.27, -59.65) |
| CIE-LCH | lch(39.42, 84.80, 315.30°) |
| OKLab | oklab(50.49% 0.1304 -0.1695) |
| OKLCH | oklch(50.49% 0.214 307.6) |
| XYZ | xyz(20.3604, 10.9074, 50.8917) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.82
Darkorchid
#9932CC
ΔE00 3.88
Blueviolet
#8A2BE2
ΔE00 4.61
Violet (survey)
#9A0EEA
ΔE00 5.86
Purply
#983FB2
ΔE00 5.95
Purple (survey)
#7E1E9C
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862FC0 #69C02F
analogous
#3E2FC0 #862FC0 #C02FB2
triadic
#862FC0 #C0862F #2FC086
tetradic
#862FC0 #C03E2F #69C02F #2FB2C0
square
#862FC0 #C03E2F #69C02F #2FB2C0
split-complementary
#862FC0 #B2C02F #2FC03E
monochromatic
#41175E #64238F #862FC0 #A356D6 #BE88E2
Accessibility & contrast
On white
6.60
#862FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#862FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862FC0
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862FC0 | 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)
#005AC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#7C5376
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #862fc0; /* rgb */ color: rgb(134, 47, 192); /* oklch */ color: oklch(50.5% 0.214 307.6);
Tailwind
colors: {
custom: {
50: '#af71d4',
500: '#862fc0',
950: '#000000',
},
}SCSS
$custom: #862fc0; $custom-light: #af71d4; $custom-dark: #000000;
JSON
{
"hex": "#862fc0",
"rgb": {
"r": 134,
"g": 47,
"b": 192
},
"hsl": {
"h": 276,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.50491,
"c": 0.21386,
"h": 307.6
},
"luminance": 0.10907
}Semantic roles & 50–950 ramp
primary
#862FC0
secondary
#9ECB7F
accent
#E44484
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83