#862CB7#862CB7
#862CB7 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.208 H 310.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #862CB7 |
|---|---|
| RGB | rgb(134, 44, 183) |
| HSL | hsl(279, 61%, 45%) |
| HSV | hsv(279, 76%, 72%) |
| CMYK | cmyk(26.8%, 76%, 0%, 28.2%) |
| CIE-LAB | lab(38.36, 59.48, -56.09) |
| CIE-LCH | lch(38.36, 81.76, 316.68°) |
| OKLab | oklab(49.53% 0.1349 -0.159) |
| OKLCH | oklch(49.53% 0.209 310.3) |
| XYZ | xyz(19.2778, 10.2890, 45.7610) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.39
Darkorchid
#9932CC
ΔE00 4.71
Purple (survey)
#7E1E9C
ΔE00 4.92
Purply
#983FB2
ΔE00 5.77
Blueviolet
#8A2BE2
ΔE00 6.03
Rebeccapurple
#663399
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862CB7 #5DB72C
analogous
#412CB7 #862CB7 #B72CA3
triadic
#862CB7 #B7862C #2CB786
tetradic
#862CB7 #B7412C #5DB72C #2CA3B7
square
#862CB7 #B7412C #5DB72C #2CA3B7
split-complementary
#862CB7 #A3B72C #2CB741
monochromatic
#3E1454 #622086 #862CB7 #A44CD4 #BD7EE0
Accessibility & contrast
On white
6.87
#862CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#862CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #862CB7
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862CB7 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#045CB4
Tritanopia (blue-blind)
#7F4D70
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #862cb7; /* rgb */ color: rgb(134, 44, 183); /* oklch */ color: oklch(49.5% 0.208 310.3);
Tailwind
colors: {
custom: {
50: '#ae6fcd',
500: '#862cb7',
950: '#000000',
},
}SCSS
$custom: #862cb7; $custom-light: #ae6fcd; $custom-dark: #000000;
JSON
{
"hex": "#862cb7",
"rgb": {
"r": 134,
"g": 44,
"b": 183
},
"hsl": {
"h": 278.849,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.49529,
"c": 0.2085,
"h": 310.3
},
"luminance": 0.10289
}Semantic roles & 50–950 ramp
primary
#862CB7
secondary
#93C876
accent
#E4437C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82