#563EB2#563EB2

#563EB2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.175 H 286.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#563EB2
RGBrgb(86, 62, 178)
HSLhsl(252, 48%, 47%)
HSVhsv(252, 65%, 70%)
CMYKcmyk(51.7%, 65.2%, 0%, 30.2%)
CIE-LABlab(35.28, 40.46, -58.40)
CIE-LCHlch(35.28, 71.04, 304.72°)
OKLaboklab(45.93% 0.0507 -0.1675)
OKLCHoklch(45.93% 0.175 286.8)
XYZxyz(13.5939, 8.6374, 43.0617)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563EB2 #9AB23E
analogous
#3E60B2 #563EB2 #903EB2
triadic
#563EB2 #B2563E #3EB256
tetradic
#563EB2 #B23E60 #9AB23E #3EB290
square
#563EB2 #B23E60 #9AB23E #3EB290
split-complementary
#563EB2 #B2903E #60B23E
monochromatic
#2A1E57 #402E85 #563EB2 #7964C9 #A092D9

Accessibility & contrast

On white

7.70
#563EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#563EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563EB2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563EB2#FFFFFF#000000##FFFFFF
##563EB21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#335A72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #563eb2;
/* rgb */ color: rgb(86, 62, 178);
/* oklch */ color: oklch(45.9% 0.175 286.8);
Tailwind
colors: {
  custom: {
    50: '#8e75ca',
    500: '#563eb2',
    950: '#000000',
  },
}
SCSS
$custom: #563eb2;
$custom-light: #8e75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#563eb2",
  "rgb": {
    "r": 86,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 252.414,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.17501,
    "h": 286.8
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#563EB2
secondary
#B8C488
accent
#D850BC
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #563EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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