#5643B2#5643B2

#5643B2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.7% C 0.169 H 285.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5643B2
RGBrgb(86, 67, 178)
HSLhsl(250, 45%, 48%)
HSVhsv(250, 62%, 70%)
CMYKcmyk(51.7%, 62.4%, 0%, 30.2%)
CIE-LABlab(36.38, 37.52, -56.60)
CIE-LCHlch(36.38, 67.91, 303.54°)
OKLaboklab(46.73% 0.0456 -0.1622)
OKLCHoklch(46.73% 0.169 285.7)
XYZxyz(13.8784, 9.2064, 43.1566)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643B2 #9FB243
analogous
#4368B2 #5643B2 #8D43B2
triadic
#5643B2 #B25643 #43B256
tetradic
#5643B2 #B24368 #9FB243 #43B28D
square
#5643B2 #B24368 #9FB243 #43B28D
split-complementary
#5643B2 #B28D43 #68B243
monochromatic
#2B2259 #413286 #5643B2 #7B6BC7 #A297D8

Accessibility & contrast

On white

7.39
#5643B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5643B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5643B2#FFFFFF#000000##FFFFFF
##5643B21.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#335D74
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5643b2;
/* rgb */ color: rgb(86, 67, 178);
/* oklch */ color: oklch(46.7% 0.169 285.7);
Tailwind
colors: {
  custom: {
    50: '#8d78ca',
    500: '#5643b2',
    950: '#000000',
  },
}
SCSS
$custom: #5643b2;
$custom-light: #8d78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5643b2",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 250.27,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.16852,
    "h": 285.7
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#5643B2
secondary
#BAC48D
accent
#D553BF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5643B2

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

Preview Lab → · Contrast checker → · Palette generator →

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