#863EB5#863EB5
#863EB5 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.185 H 309.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #863EB5 |
|---|---|
| RGB | rgb(134, 62, 181) |
| HSL | hsl(276, 49%, 48%) |
| HSV | hsv(276, 66%, 71%) |
| CMYK | cmyk(26%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(40.98, 51.27, -50.68) |
| CIE-LCH | lch(40.98, 72.09, 315.33°) |
| OKLab | oklab(51.35% 0.1166 -0.1432) |
| OKLCH | oklch(51.35% 0.185 309.1) |
| XYZ | xyz(19.8930, 11.8501, 44.9465) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.93
Darkorchid
#9932CC
ΔE00 4.33
Royal Purple
#7851A9
ΔE00 5.63
Darkviolet
#9400D3
ΔE00 6.57
Blueviolet
#8A2BE2
ΔE00 6.59
Purple (survey)
#7E1E9C
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#863EB5 #6DB53E
analogous
#4B3EB5 #863EB5 #B53EA8
triadic
#863EB5 #B5863E #3EB586
tetradic
#863EB5 #B54B3E #6DB53E #3EA8B5
square
#863EB5 #B54B3E #6DB53E #3EA8B5
split-complementary
#863EB5 #A8B53E #3EB54B
monochromatic
#431F5A #642E87 #863EB5 #A366CA #BE93DA
Accessibility & contrast
On white
6.23
#863EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#863EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #863EB5
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##863EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##863EB5 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#2B62B2
Tritanopia (blue-blind)
#7F5774
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #863eb5; /* rgb */ color: rgb(134, 62, 181); /* oklch */ color: oklch(51.4% 0.185 309.1);
Tailwind
colors: {
custom: {
50: '#ad78cc',
500: '#863eb5',
950: '#000000',
},
}SCSS
$custom: #863eb5; $custom-light: #ad78cc; $custom-dark: #000000;
JSON
{
"hex": "#863eb5",
"rgb": {
"r": 134,
"g": 62,
"b": 181
},
"hsl": {
"h": 276.303,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.51352,
"c": 0.18465,
"h": 309.1
},
"luminance": 0.1185
}Semantic roles & 50–950 ramp
primary
#863EB5
secondary
#A1C589
accent
#D94F85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82