#563DB2#563DB2

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

Color values

HEX#563DB2
RGBrgb(86, 61, 178)
HSLhsl(253, 49%, 47%)
HSVhsv(253, 66%, 70%)
CMYKcmyk(51.7%, 65.7%, 0%, 30.2%)
CIE-LABlab(35.06, 41.04, -58.75)
CIE-LCHlch(35.06, 71.66, 304.94°)
OKLaboklab(45.78% 0.0517 -0.1685)
OKLCHoklch(45.78% 0.176 287.1)
XYZxyz(13.5400, 8.5296, 43.0438)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563DB2 #99B23D
analogous
#3D5EB2 #563DB2 #913DB2
triadic
#563DB2 #B2563D #3DB256
tetradic
#563DB2 #B23D5E #99B23D #3DB291
square
#563DB2 #B23D5E #99B23D #3DB291
split-complementary
#563DB2 #B2913D #5EB23D
monochromatic
#2A1E57 #402D84 #563DB2 #7963C9 #A090D9

Accessibility & contrast

On white

7.76
#563DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#563DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563DB2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563DB2#FFFFFF#000000##FFFFFF
##563DB21.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#335A72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #563db2;
/* rgb */ color: rgb(86, 61, 178);
/* oklch */ color: oklch(45.8% 0.176 287.1);
Tailwind
colors: {
  custom: {
    50: '#8e74ca',
    500: '#563db2',
    950: '#000000',
  },
}
SCSS
$custom: #563db2;
$custom-light: #8e74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#563db2",
  "rgb": {
    "r": 86,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 252.821,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.17629,
    "h": 287.1
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#563DB2
secondary
#B7C487
accent
#D94FBB
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #563DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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