#563EBA#563EBA

#563EBA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.185 H 285.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#563EBA
RGBrgb(86, 62, 186)
HSLhsl(252, 50%, 49%)
HSVhsv(252, 67%, 73%)
CMYKcmyk(53.8%, 66.7%, 0%, 27.1%)
CIE-LABlab(35.92, 42.87, -62.07)
CIE-LCHlch(35.92, 75.44, 304.63°)
OKLaboklab(46.6% 0.0498 -0.1783)
OKLCHoklch(46.6% 0.185 285.6)
XYZxyz(14.4206, 8.9681, 47.4160)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563EBA #A2BA3E
analogous
#3E64BA #563EBA #943EBA
triadic
#563EBA #BA563E #3EBA56
tetradic
#563EBA #BA3E64 #A2BA3E #3EBA94
square
#563EBA #BA3E64 #A2BA3E #3EBA94
split-complementary
#563EBA #BA943E #64BA3E
monochromatic
#2C1F5E #412F8C #563EBA #7C68CD #A496DC

Accessibility & contrast

On white

7.52
#563EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#563EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563EBA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563EBA#FFFFFF#000000##FFFFFF
##563EBA1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#2C5D77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #563eba;
/* rgb */ color: rgb(86, 62, 186);
/* oklch */ color: oklch(46.6% 0.185 285.6);
Tailwind
colors: {
  custom: {
    50: '#8f75d0',
    500: '#563eba',
    950: '#000000',
  },
}
SCSS
$custom: #563eba;
$custom-light: #8f75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#563eba",
  "rgb": {
    "r": 86,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 251.613,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.466,
    "c": 0.18511,
    "h": 285.6
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#563EBA
secondary
#BCC88C
accent
#DA4EBF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #563EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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