#5643A2#5643A2

#5643A2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.5% C 0.147 H 288.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5643A2
RGBrgb(86, 67, 162)
HSLhsl(252, 41%, 45%)
HSVhsv(252, 59%, 64%)
CMYKcmyk(46.9%, 58.6%, 0%, 36.5%)
CIE-LABlab(35.20, 32.64, -48.96)
CIE-LCHlch(35.20, 58.84, 303.69°)
OKLaboklab(45.5% 0.0463 -0.1397)
OKLCHoklch(45.5% 0.147 288.3)
XYZxyz(12.3646, 8.6009, 35.1841)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643A2 #8FA243
analogous
#435FA2 #5643A2 #8643A2
triadic
#5643A2 #A25643 #43A256
tetradic
#5643A2 #A2435F #8FA243 #43A286
square
#5643A2 #A2435F #8FA243 #43A286
split-complementary
#5643A2 #A28643 #5FA243
monochromatic
#281F4B #3F3177 #5643A2 #7664BF #9C8FD1

Accessibility & contrast

On white

7.72
#5643A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5643A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5643A2#FFFFFF#000000##FFFFFF
##5643A21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#3E586C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5643a2;
/* rgb */ color: rgb(86, 67, 162);
/* oklch */ color: oklch(45.5% 0.147 288.3);
Tailwind
colors: {
  custom: {
    50: '#8b78be',
    500: '#5643a2',
    950: '#000000',
  },
}
SCSS
$custom: #5643a2;
$custom-light: #8b78be;
$custom-dark: #000000;
JSON
{
  "hex": "#5643a2",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 252,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.14721,
    "h": 288.3
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#5643A2
secondary
#B1BC85
accent
#D156B9
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #5643A2

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

Preview Lab → · Contrast checker → · Palette generator →

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