#5637BC#5637BC

#5637BC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.196 H 286.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5637BC
RGBrgb(86, 55, 188)
HSLhsl(254, 55%, 48%)
HSVhsv(254, 71%, 74%)
CMYKcmyk(54.3%, 70.7%, 0%, 26.3%)
CIE-LABlab(34.68, 47.34, -65.28)
CIE-LCHlch(34.68, 80.63, 305.95°)
OKLaboklab(45.76% 0.0557 -0.1877)
OKLCHoklch(45.76% 0.196 286.5)
XYZxyz(14.2783, 8.3409, 48.4248)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637BC #9DBC37
analogous
#375ABC #5637BC #9937BC
triadic
#5637BC #BC5637 #37BC56
tetradic
#5637BC #BC375A #9DBC37 #37BC99
square
#5637BC #BC375A #9DBC37 #37BC99
split-complementary
#5637BC #BC9937 #5ABC37
monochromatic
#2B1B5D #40298D #5637BC #7A60D0 #A28FDE

Accessibility & contrast

On white

7.87
#5637BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5637BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637BC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637BC#FFFFFF#000000##FFFFFF
##5637BC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#2B5A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5637bc;
/* rgb */ color: rgb(86, 55, 188);
/* oklch */ color: oklch(45.8% 0.196 286.5);
Tailwind
colors: {
  custom: {
    50: '#9071d1',
    500: '#5637bc',
    950: '#000000',
  },
}
SCSS
$custom: #5637bc;
$custom-light: #9071d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5637bc",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 253.985,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.19577,
    "h": 286.5
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#5637BC
secondary
#B9C986
accent
#DE4ABB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5637BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5637BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva