#563AB5#563AB5

#563AB5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.184 H 287.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#563AB5
RGBrgb(86, 58, 181)
HSLhsl(254, 51%, 47%)
HSVhsv(254, 68%, 71%)
CMYKcmyk(52.5%, 68%, 0%, 29%)
CIE-LABlab(34.68, 43.63, -61.15)
CIE-LCHlch(34.68, 75.12, 305.51°)
OKLaboklab(45.58% 0.0542 -0.1756)
OKLCHoklch(45.58% 0.184 287.2)
XYZxyz(13.6888, 8.3401, 44.5956)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563AB5 #99B53A
analogous
#3A5BB5 #563AB5 #943AB5
triadic
#563AB5 #B5563A #3AB556
tetradic
#563AB5 #B53A5B #99B53A #3AB594
square
#563AB5 #B53A5B #99B53A #3AB594
split-complementary
#563AB5 #B5943A #5BB53A
monochromatic
#2A1C58 #402B87 #563AB5 #7960CC #A08EDB

Accessibility & contrast

On white

7.87
#563AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#563AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563AB5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563AB5#FFFFFF#000000##FFFFFF
##563AB51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#315973
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #563ab5;
/* rgb */ color: rgb(86, 58, 181);
/* oklch */ color: oklch(45.6% 0.184 287.2);
Tailwind
colors: {
  custom: {
    50: '#8f72cc',
    500: '#563ab5',
    950: '#000000',
  },
}
SCSS
$custom: #563ab5;
$custom-light: #8f72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#563ab5",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 253.659,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.18376,
    "h": 287.2
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#563AB5
secondary
#B7C685
accent
#DB4DBB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #563AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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