#5637BD#5637BD

#5637BD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.197 H 286.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5637BD
RGBrgb(86, 55, 189)
HSLhsl(254, 55%, 48%)
HSVhsv(254, 71%, 74%)
CMYKcmyk(54.5%, 70.9%, 0%, 25.9%)
CIE-LABlab(34.77, 47.63, -65.72)
CIE-LCHlch(34.77, 81.17, 305.93°)
OKLaboklab(45.85% 0.0555 -0.189)
OKLCHoklch(45.85% 0.197 286.4)
XYZxyz(14.3865, 8.3842, 48.9945)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637BD #9EBD37
analogous
#375BBD #5637BD #9937BD
triadic
#5637BD #BD5637 #37BD56
tetradic
#5637BD #BD375B #9EBD37 #37BD99
square
#5637BD #BD375B #9EBD37 #37BD99
split-complementary
#5637BD #BD9937 #5BBD37
monochromatic
#2B1B5E #40298E #5637BD #7A60D1 #A290DF

Accessibility & contrast

On white

7.84
#5637BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5637BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637BD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637BD#FFFFFF#000000##FFFFFF
##5637BD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#2A5A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5637bd;
/* rgb */ color: rgb(86, 55, 189);
/* oklch */ color: oklch(45.9% 0.197 286.4);
Tailwind
colors: {
  custom: {
    50: '#9071d2',
    500: '#5637bd',
    950: '#000000',
  },
}
SCSS
$custom: #5637bd;
$custom-light: #9071d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5637bd",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 253.881,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.19698,
    "h": 286.4
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#5637BD
secondary
#BAC986
accent
#DE4ABC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5637BD

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

Preview Lab → · Contrast checker → · Palette generator →

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