#563EB2#563EB2
#563EB2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.175 H 286.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #563EB2 |
|---|---|
| RGB | rgb(86, 62, 178) |
| HSL | hsl(252, 48%, 47%) |
| HSV | hsv(252, 65%, 70%) |
| CMYK | cmyk(51.7%, 65.2%, 0%, 30.2%) |
| CIE-LAB | lab(35.28, 40.46, -58.40) |
| CIE-LCH | lch(35.28, 71.04, 304.72°) |
| OKLab | oklab(45.93% 0.0507 -0.1675) |
| OKLCH | oklch(45.93% 0.175 286.8) |
| XYZ | xyz(13.5939, 8.6374, 43.0617) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.81
Blue With A Hint Of Purple
#533CC6
ΔE00 2.89
Bluey Purple
#6241C7
ΔE00 3.59
Blurple
#5539CC
ΔE00 3.73
Blueberry
#464196
ΔE00 5.40
Rebeccapurple
#663399
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#563EB2 #9AB23E
analogous
#3E60B2 #563EB2 #903EB2
triadic
#563EB2 #B2563E #3EB256
tetradic
#563EB2 #B23E60 #9AB23E #3EB290
square
#563EB2 #B23E60 #9AB23E #3EB290
split-complementary
#563EB2 #B2903E #60B23E
monochromatic
#2A1E57 #402E85 #563EB2 #7964C9 #A092D9
Accessibility & contrast
On white
7.70
#563EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#563EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #563EB2
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##563EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##563EB2 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#335A72
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #563eb2; /* rgb */ color: rgb(86, 62, 178); /* oklch */ color: oklch(45.9% 0.175 286.8);
Tailwind
colors: {
custom: {
50: '#8e75ca',
500: '#563eb2',
950: '#000000',
},
}SCSS
$custom: #563eb2; $custom-light: #8e75ca; $custom-dark: #000000;
JSON
{
"hex": "#563eb2",
"rgb": {
"r": 86,
"g": 62,
"b": 178
},
"hsl": {
"h": 252.414,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.45932,
"c": 0.17501,
"h": 286.8
},
"luminance": 0.08638
}Semantic roles & 50–950 ramp
primary
#563EB2
secondary
#B8C488
accent
#D850BC
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82