#863EBA#863EBA
#863EBA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.190 H 307.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #863EBA |
|---|---|
| RGB | rgb(134, 62, 186) |
| HSL | hsl(275, 50%, 49%) |
| HSV | hsv(275, 67%, 73%) |
| CMYK | cmyk(28%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(41.31, 52.41, -53.08) |
| CIE-LCH | lch(41.31, 74.60, 314.64°) |
| OKLab | oklab(51.7% 0.1162 -0.1503) |
| OKLCH | oklch(51.7% 0.19 307.7) |
| XYZ | xyz(20.4152, 12.0590, 47.6970) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.89
Purply
#983FB2
ΔE00 4.31
Royal Purple
#7851A9
ΔE00 5.84
Blueviolet
#8A2BE2
ΔE00 5.84
Darkviolet
#9400D3
ΔE00 6.19
Bluey Purple
#6241C7
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#863EBA #72BA3E
analogous
#483EBA #863EBA #BA3EB0
triadic
#863EBA #BA863E #3EBA86
tetradic
#863EBA #BA483E #72BA3E #3EB0BA
square
#863EBA #BA483E #72BA3E #3EB0BA
split-complementary
#863EBA #B0BA3E #3EBA48
monochromatic
#441F5E #652F8C #863EBA #A368CD #BF96DC
Accessibility & contrast
On white
6.16
#863EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#863EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #863EBA
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##863EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##863EBA | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#7E5877
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #863eba; /* rgb */ color: rgb(134, 62, 186); /* oklch */ color: oklch(51.7% 0.190 307.7);
Tailwind
colors: {
custom: {
50: '#ad78cf',
500: '#863eba',
950: '#000000',
},
}SCSS
$custom: #863eba; $custom-light: #ad78cf; $custom-dark: #000000;
JSON
{
"hex": "#863eba",
"rgb": {
"r": 134,
"g": 62,
"b": 186
},
"hsl": {
"h": 274.839,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.51698,
"c": 0.18993,
"h": 307.7
},
"luminance": 0.12059
}Semantic roles & 50–950 ramp
primary
#863EBA
secondary
#A5C88C
accent
#DA4E89
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82