#5643AE#5643AE

#5643AE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.4% C 0.163 H 286.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5643AE
RGBrgb(86, 67, 174)
HSLhsl(251, 44%, 47%)
HSVhsv(251, 61%, 68%)
CMYKcmyk(50.6%, 61.5%, 0%, 31.8%)
CIE-LABlab(36.08, 36.30, -54.72)
CIE-LCHlch(36.08, 65.66, 303.56°)
OKLaboklab(46.42% 0.0459 -0.1567)
OKLCHoklch(46.42% 0.163 286.3)
XYZxyz(13.4826, 9.0481, 41.0722)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643AE #9BAE43
analogous
#4366AE #5643AE #8B43AE
triadic
#5643AE #AE5643 #43AE56
tetradic
#5643AE #AE4366 #9BAE43 #43AE8B
square
#5643AE #AE4366 #9BAE43 #43AE8B
split-complementary
#5643AE #AE8B43 #66AE43
monochromatic
#2A2156 #403282 #5643AE #7969C5 #A195D6

Accessibility & contrast

On white

7.47
#5643AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5643AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643AE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643AE#FFFFFF#000000##FFFFFF
##5643AE1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#365C72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5643ae;
/* rgb */ color: rgb(86, 67, 174);
/* oklch */ color: oklch(46.4% 0.163 286.3);
Tailwind
colors: {
  custom: {
    50: '#8d78c7',
    500: '#5643ae',
    950: '#000000',
  },
}
SCSS
$custom: #5643ae;
$custom-light: #8d78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5643ae",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 250.654,
    "s": 44.398,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.16327,
    "h": 286.3
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5643AE

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

Preview Lab → · Contrast checker → · Palette generator →

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