#563AB4#563AB4

#563AB4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.183 H 287.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#563AB4
RGBrgb(86, 58, 180)
HSLhsl(254, 51%, 47%)
HSVhsv(254, 68%, 71%)
CMYKcmyk(52.2%, 67.8%, 0%, 29.4%)
CIE-LABlab(34.60, 43.34, -60.69)
CIE-LCHlch(34.60, 74.57, 305.53°)
OKLaboklab(45.49% 0.0544 -0.1742)
OKLCHoklch(45.49% 0.183 287.3)
XYZxyz(13.5866, 8.2992, 44.0572)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563AB4 #98B43A
analogous
#3A5BB4 #563AB4 #933AB4
triadic
#563AB4 #B4563A #3AB456
tetradic
#563AB4 #B43A5B #98B43A #3AB493
square
#563AB4 #B43A5B #98B43A #3AB493
split-complementary
#563AB4 #B4933A #5BB43A
monochromatic
#2A1C57 #402B86 #563AB4 #7860CC #9F8EDB

Accessibility & contrast

On white

7.89
#563AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#563AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563AB4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563AB4#FFFFFF#000000##FFFFFF
##563AB41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#325972
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #563ab4;
/* rgb */ color: rgb(86, 58, 180);
/* oklch */ color: oklch(45.5% 0.183 287.3);
Tailwind
colors: {
  custom: {
    50: '#8e72cb',
    500: '#563ab4',
    950: '#000000',
  },
}
SCSS
$custom: #563ab4;
$custom-light: #8e72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#563ab4",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 253.77,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.18252,
    "h": 287.3
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#563AB4
secondary
#B6C585
accent
#DB4DBA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #563AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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