#5643A8#5643A8

#5643A8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.0% C 0.155 H 287.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5643A8
RGBrgb(86, 67, 168)
HSLhsl(251, 43%, 46%)
HSVhsv(251, 60%, 66%)
CMYKcmyk(48.8%, 60.1%, 0%, 34.1%)
CIE-LABlab(35.63, 34.46, -51.86)
CIE-LCHlch(35.63, 62.27, 303.61°)
OKLaboklab(45.95% 0.0461 -0.1483)
OKLCHoklch(45.95% 0.155 287.3)
XYZxyz(12.9107, 8.8193, 38.0602)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643A8 #95A843
analogous
#4362A8 #5643A8 #8843A8
triadic
#5643A8 #A85643 #43A856
tetradic
#5643A8 #A84362 #95A843 #43A888
square
#5643A8 #A84362 #95A843 #43A888
split-complementary
#5643A8 #A88843 #62A843
monochromatic
#292050 #40327C #5643A8 #7766C2 #9E92D3

Accessibility & contrast

On white

7.60
#5643A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5643A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643A8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643A8#FFFFFF#000000##FFFFFF
##5643A81.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#3A5A6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5643a8;
/* rgb */ color: rgb(86, 67, 168);
/* oklch */ color: oklch(46.0% 0.155 287.3);
Tailwind
colors: {
  custom: {
    50: '#8c78c3',
    500: '#5643a8',
    950: '#000000',
  },
}
SCSS
$custom: #5643a8;
$custom-light: #8c78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5643a8",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 168
  },
  "hsl": {
    "h": 251.287,
    "s": 42.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.15529,
    "h": 287.3
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#5643A8
secondary
#B5BF88
accent
#D355BB
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0912
muted
#7D7B81

Preview Lab

Preview with #5643A8

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

Preview Lab → · Contrast checker → · Palette generator →

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