#563AB6#563AB6
#563AB6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.185 H 287.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #563AB6 |
|---|---|
| RGB | rgb(86, 58, 182) |
| HSL | hsl(254, 52%, 47%) |
| HSV | hsv(254, 68%, 71%) |
| CMYK | cmyk(52.7%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(34.76, 43.93, -61.60) |
| CIE-LCH | lch(34.76, 75.66, 305.49°) |
| OKLab | oklab(45.66% 0.0541 -0.1769) |
| OKLCH | oklch(45.66% 0.185 287) |
| XYZ | xyz(13.7918, 8.3813, 45.1379) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 2.36
Ocean Blue
#4F42B5
ΔE00 2.56
Blurple
#5539CC
ΔE00 3.00
Bluey Purple
#6241C7
ΔE00 3.48
Purple Blue
#5D21D0
ΔE00 5.37
Rebeccapurple
#663399
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563AB6 #9AB63A
analogous
#3A5CB6 #563AB6 #943AB6
triadic
#563AB6 #B6563A #3AB656
tetradic
#563AB6 #B63A5C #9AB63A #3AB694
square
#563AB6 #B63A5C #9AB63A #3AB694
split-complementary
#563AB6 #B6943A #5CB63A
monochromatic
#2A1C59 #402B88 #563AB6 #7961CD #A08FDB
Accessibility & contrast
On white
7.85
#563AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#563AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563AB6
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563AB6 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#305A73
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #563ab6; /* rgb */ color: rgb(86, 58, 182); /* oklch */ color: oklch(45.7% 0.185 287.0);
Tailwind
colors: {
custom: {
50: '#8f72cd',
500: '#563ab6',
950: '#000000',
},
}SCSS
$custom: #563ab6; $custom-light: #8f72cd; $custom-dark: #000000;
JSON
{
"hex": "#563ab6",
"rgb": {
"r": 86,
"g": 58,
"b": 182
},
"hsl": {
"h": 253.548,
"s": 51.667,
"l": 47.059
},
"oklch": {
"l": 0.45664,
"c": 0.185,
"h": 287
},
"luminance": 0.08382
}Semantic roles & 50–950 ramp
primary
#563AB6
secondary
#B8C686
accent
#DB4DBB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82