#563AB9#563AB9

#563AB9 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.189 H 286.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#563AB9
RGBrgb(86, 58, 185)
HSLhsl(253, 52%, 48%)
HSVhsv(253, 69%, 73%)
CMYKcmyk(53.5%, 68.6%, 0%, 27.5%)
CIE-LABlab(35.02, 44.82, -62.96)
CIE-LCHlch(35.02, 77.29, 305.44°)
OKLaboklab(45.92% 0.0536 -0.1809)
OKLCHoklch(45.92% 0.189 286.5)
XYZxyz(14.1052, 8.5066, 46.7882)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563AB9 #9DB93A
analogous
#3A5EB9 #563AB9 #953AB9
triadic
#563AB9 #B9563A #3AB956
tetradic
#563AB9 #B93A5E #9DB93A #3AB995
square
#563AB9 #B93A5E #9DB93A #3AB995
split-complementary
#563AB9 #B9953A #5EB93A
monochromatic
#2B1D5C #402B8A #563AB9 #7A62CE #A291DC

Accessibility & contrast

On white

7.77
#563AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#563AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563AB9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563AB9#FFFFFF#000000##FFFFFF
##563AB91.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#2E5B75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #563ab9;
/* rgb */ color: rgb(86, 58, 185);
/* oklch */ color: oklch(45.9% 0.189 286.5);
Tailwind
colors: {
  custom: {
    50: '#8f72cf',
    500: '#563ab9',
    950: '#000000',
  },
}
SCSS
$custom: #563ab9;
$custom-light: #8f72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#563ab9",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 253.228,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.18868,
    "h": 286.5
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #563AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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