#563AB2#563AB2
#563AB2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.180 H 287.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #563AB2 |
|---|---|
| RGB | rgb(86, 58, 178) |
| HSL | hsl(254, 51%, 46%) |
| HSV | hsv(254, 67%, 70%) |
| CMYK | cmyk(51.7%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(34.43, 42.74, -59.77) |
| CIE-LCH | lch(34.43, 73.48, 305.57°) |
| OKLab | oklab(45.32% 0.0547 -0.1715) |
| OKLCH | oklch(45.32% 0.18 287.7) |
| XYZ | xyz(13.3843, 8.2183, 42.9919) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.63
Blue With A Hint Of Purple
#533CC6
ΔE00 2.93
Blurple
#5539CC
ΔE00 3.58
Bluey Purple
#6241C7
ΔE00 3.90
Purple Blue
#5D21D0
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563AB2 #96B23A
analogous
#3A5AB2 #563AB2 #923AB2
triadic
#563AB2 #B2563A #3AB256
tetradic
#563AB2 #B23A5A #96B23A #3AB292
square
#563AB2 #B23A5A #96B23A #3AB292
split-complementary
#563AB2 #B2923A #5AB23A
monochromatic
#291C56 #402B84 #563AB2 #785FCB #9F8DDA
Accessibility & contrast
On white
7.94
#563AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#563AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563AB2
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563AB2 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#345871
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #563ab2; /* rgb */ color: rgb(86, 58, 178); /* oklch */ color: oklch(45.3% 0.180 287.7);
Tailwind
colors: {
custom: {
50: '#8e72ca',
500: '#563ab2',
950: '#000000',
},
}SCSS
$custom: #563ab2; $custom-light: #8e72ca; $custom-dark: #000000;
JSON
{
"hex": "#563ab2",
"rgb": {
"r": 86,
"g": 58,
"b": 178
},
"hsl": {
"h": 254,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.45323,
"c": 0.18004,
"h": 287.7
},
"luminance": 0.08219
}Semantic roles & 50–950 ramp
primary
#563AB2
secondary
#B5C483
accent
#DA4DB9
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82