#563AB6#563AB6

#563AB6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.185 H 287.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#563AB6
RGBrgb(86, 58, 182)
HSLhsl(254, 52%, 47%)
HSVhsv(254, 68%, 71%)
CMYKcmyk(52.7%, 68.1%, 0%, 28.6%)
CIE-LABlab(34.76, 43.93, -61.60)
CIE-LCHlch(34.76, 75.66, 305.49°)
OKLaboklab(45.66% 0.0541 -0.1769)
OKLCHoklch(45.66% 0.185 287)
XYZxyz(13.7918, 8.3813, 45.1379)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563AB6 #9AB63A
analogous
#3A5CB6 #563AB6 #943AB6
triadic
#563AB6 #B6563A #3AB656
tetradic
#563AB6 #B63A5C #9AB63A #3AB694
square
#563AB6 #B63A5C #9AB63A #3AB694
split-complementary
#563AB6 #B6943A #5CB63A
monochromatic
#2A1C59 #402B88 #563AB6 #7961CD #A08FDB

Accessibility & contrast

On white

7.85
#563AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#563AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563AB6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563AB6#FFFFFF#000000##FFFFFF
##563AB61.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#305A73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #563ab6;
/* rgb */ color: rgb(86, 58, 182);
/* oklch */ color: oklch(45.7% 0.185 287.0);
Tailwind
colors: {
  custom: {
    50: '#8f72cd',
    500: '#563ab6',
    950: '#000000',
  },
}
SCSS
$custom: #563ab6;
$custom-light: #8f72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#563ab6",
  "rgb": {
    "r": 86,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 253.548,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.185,
    "h": 287
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#563AB6
secondary
#B8C686
accent
#DB4DBB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #563AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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