#563FAB#563FAB

#563FAB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.5% C 0.165 H 287.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#563FAB
RGBrgb(86, 63, 171)
HSLhsl(253, 46%, 46%)
HSVhsv(253, 63%, 67%)
CMYKcmyk(49.7%, 63.2%, 0%, 32.9%)
CIE-LABlab(34.95, 37.77, -54.76)
CIE-LCHlch(34.95, 66.52, 304.59°)
OKLaboklab(45.52% 0.0504 -0.1568)
OKLCHoklch(45.52% 0.165 287.8)
XYZxyz(12.9638, 8.4731, 39.4726)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#563FAB #94AB3F
analogous
#3F5EAB #563FAB #8C3FAB
triadic
#563FAB #AB563F #3FAB56
tetradic
#563FAB #AB3F5E #94AB3F #3FAB8C
square
#563FAB #AB3F5E #94AB3F #3FAB8C
split-complementary
#563FAB #AB8C3F #5EAB3F
monochromatic
#291E52 #402F7E #563FAB #7762C5 #9E8FD6

Accessibility & contrast

On white

7.79
#563FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#563FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #563FAB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##563FAB#FFFFFF#000000##FFFFFF
##563FAB1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#38596F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #563fab;
/* rgb */ color: rgb(86, 63, 171);
/* oklch */ color: oklch(45.5% 0.165 287.8);
Tailwind
colors: {
  custom: {
    50: '#8d75c5',
    500: '#563fab',
    950: '#000000',
  },
}
SCSS
$custom: #563fab;
$custom-light: #8d75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#563fab",
  "rgb": {
    "r": 86,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 252.778,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.16471,
    "h": 287.8
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#563FAB
secondary
#B4C185
accent
#D652BA
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #563FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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