#5643AA#5643AA

#5643AA is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.1% C 0.158 H 287.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5643AA
RGBrgb(86, 67, 170)
HSLhsl(251, 43%, 46%)
HSVhsv(251, 61%, 67%)
CMYKcmyk(49.4%, 60.6%, 0%, 33.3%)
CIE-LABlab(35.78, 35.07, -52.82)
CIE-LCHlch(35.78, 63.40, 303.59°)
OKLaboklab(46.11% 0.0461 -0.1511)
OKLCHoklch(46.11% 0.158 287)
XYZxyz(13.0985, 8.8944, 39.0490)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643AA #97AA43
analogous
#4364AA #5643AA #8A43AA
triadic
#5643AA #AA5643 #43AA56
tetradic
#5643AA #AA4364 #97AA43 #43AA8A
square
#5643AA #AA4364 #97AA43 #43AA8A
split-complementary
#5643AA #AA8A43 #64AA43
monochromatic
#2A2052 #40327E #5643AA #7867C3 #9F93D4

Accessibility & contrast

On white

7.56
#5643AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5643AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5643AA#FFFFFF#000000##FFFFFF
##5643AA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#395B70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5643aa;
/* rgb */ color: rgb(86, 67, 170);
/* oklch */ color: oklch(46.1% 0.158 287.0);
Tailwind
colors: {
  custom: {
    50: '#8c78c4',
    500: '#5643aa',
    950: '#000000',
  },
}
SCSS
$custom: #5643aa;
$custom-light: #8c78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5643aa",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 251.068,
    "s": 43.46,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46107,
    "c": 0.15796,
    "h": 287
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#5643AA
secondary
#B6C089
accent
#D355BC
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5643AA

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

Preview Lab → · Contrast checker → · Palette generator →

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