#563AB7#563AB7

#563AB7 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.186 H 286.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#563AB7
RGBrgb(86, 58, 183)
HSLhsl(253, 52%, 47%)
HSVhsv(253, 68%, 72%)
CMYKcmyk(53%, 68.3%, 0%, 28.2%)
CIE-LABlab(34.85, 44.23, -62.06)
CIE-LCHlch(34.85, 76.20, 305.48°)
OKLaboklab(45.75% 0.0539 -0.1782)
OKLCHoklch(45.75% 0.186 286.8)
XYZxyz(13.8955, 8.4227, 45.6841)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563AB7 #9BB73A
analogous
#3A5DB7 #563AB7 #953AB7
triadic
#563AB7 #B7563A #3AB756
tetradic
#563AB7 #B73A5D #9BB73A #3AB795
square
#563AB7 #B73A5D #9BB73A #3AB795
split-complementary
#563AB7 #B7953A #5DB73A
monochromatic
#2A1D5A #402B89 #563AB7 #7961CD #A190DC

Accessibility & contrast

On white

7.82
#563AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#563AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563AB7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563AB7#FFFFFF#000000##FFFFFF
##563AB71.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #563ab7;
/* rgb */ color: rgb(86, 58, 183);
/* oklch */ color: oklch(45.8% 0.186 286.8);
Tailwind
colors: {
  custom: {
    50: '#8f72ce',
    500: '#563ab7',
    950: '#000000',
  },
}
SCSS
$custom: #563ab7;
$custom-light: #8f72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#563ab7",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 253.44,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.18622,
    "h": 286.8
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#563AB7
secondary
#B8C786
accent
#DB4CBB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #563AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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