#5643AC#5643AC

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

Color values

HEX#5643AC
RGBrgb(86, 67, 172)
HSLhsl(251, 44%, 47%)
HSVhsv(251, 61%, 67%)
CMYKcmyk(50%, 61%, 0%, 32.5%)
CIE-LABlab(35.93, 35.68, -53.77)
CIE-LCHlch(35.93, 64.54, 303.57°)
OKLaboklab(46.26% 0.046 -0.1539)
OKLCHoklch(46.26% 0.161 286.6)
XYZxyz(13.2891, 8.9707, 40.0530)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643AC #99AC43
analogous
#4365AC #5643AC #8B43AC
triadic
#5643AC #AC5643 #43AC56
tetradic
#5643AC #AC4365 #99AC43 #43AC8B
square
#5643AC #AC4365 #99AC43 #43AC8B
split-complementary
#5643AC #AC8B43 #65AC43
monochromatic
#2A2154 #403280 #5643AC #7968C4 #A094D5

Accessibility & contrast

On white

7.52
#5643AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5643AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5643AC#FFFFFF#000000##FFFFFF
##5643AC1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#375C71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5643ac;
/* rgb */ color: rgb(86, 67, 172);
/* oklch */ color: oklch(46.3% 0.161 286.6);
Tailwind
colors: {
  custom: {
    50: '#8d78c5',
    500: '#5643ac',
    950: '#000000',
  },
}
SCSS
$custom: #5643ac;
$custom-light: #8d78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5643ac",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 250.857,
    "s": 43.933,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46261,
    "c": 0.16062,
    "h": 286.6
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5643AC

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

Preview Lab → · Contrast checker → · Palette generator →

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