#563AB8#563AB8

#563AB8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.187 H 286.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#563AB8
RGBrgb(86, 58, 184)
HSLhsl(253, 52%, 47%)
HSVhsv(253, 68%, 72%)
CMYKcmyk(53.3%, 68.5%, 0%, 27.8%)
CIE-LABlab(34.93, 44.52, -62.51)
CIE-LCHlch(34.93, 76.75, 305.46°)
OKLaboklab(45.84% 0.0537 -0.1796)
OKLCHoklch(45.84% 0.187 286.7)
XYZxyz(14.0000, 8.4645, 46.2342)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563AB8 #9CB83A
analogous
#3A5DB8 #563AB8 #953AB8
triadic
#563AB8 #B8563A #3AB856
tetradic
#563AB8 #B83A5D #9CB83A #3AB895
square
#563AB8 #B83A5D #9CB83A #3AB895
split-complementary
#563AB8 #B8953A #5DB83A
monochromatic
#2B1D5B #402B89 #563AB8 #7A62CD #A190DC

Accessibility & contrast

On white

7.80
#563AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#563AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563AB8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563AB8#FFFFFF#000000##FFFFFF
##563AB81.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#2F5A74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #563ab8;
/* rgb */ color: rgb(86, 58, 184);
/* oklch */ color: oklch(45.8% 0.187 286.7);
Tailwind
colors: {
  custom: {
    50: '#8f72ce',
    500: '#563ab8',
    950: '#000000',
  },
}
SCSS
$custom: #563ab8;
$custom-light: #8f72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#563ab8",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 253.333,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.18745,
    "h": 286.7
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#563AB8
secondary
#B9C787
accent
#DC4CBC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #563AB8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#563AB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva