#5643AD#5643AD

#5643AD is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.3% C 0.162 H 286.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5643AD
RGBrgb(86, 67, 173)
HSLhsl(251, 44%, 47%)
HSVhsv(251, 61%, 68%)
CMYKcmyk(50.3%, 61.3%, 0%, 32.2%)
CIE-LABlab(36.00, 35.99, -54.25)
CIE-LCHlch(36.00, 65.10, 303.56°)
OKLaboklab(46.34% 0.0459 -0.1553)
OKLCHoklch(46.34% 0.162 286.5)
XYZxyz(13.3855, 9.0092, 40.5607)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643AD #9AAD43
analogous
#4365AD #5643AD #8B43AD
triadic
#5643AD #AD5643 #43AD56
tetradic
#5643AD #AD4365 #9AAD43 #43AD8B
square
#5643AD #AD4365 #9AAD43 #43AD8B
split-complementary
#5643AD #AD8B43 #65AD43
monochromatic
#2A2155 #403281 #5643AD #7968C5 #A095D6

Accessibility & contrast

On white

7.49
#5643AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5643AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643AD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643AD#FFFFFF#000000##FFFFFF
##5643AD1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#375C71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5643ad;
/* rgb */ color: rgb(86, 67, 173);
/* oklch */ color: oklch(46.3% 0.162 286.5);
Tailwind
colors: {
  custom: {
    50: '#8d78c6',
    500: '#5643ad',
    950: '#000000',
  },
}
SCSS
$custom: #5643ad;
$custom-light: #8d78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5643ad",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 173
  },
  "hsl": {
    "h": 250.755,
    "s": 44.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.16194,
    "h": 286.5
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#5643AD
secondary
#B8C18A
accent
#D454BD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5643AD

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

Preview Lab → · Contrast checker → · Palette generator →

#5643AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva