#5637BA#5637BA

#5637BA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.193 H 286.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5637BA
RGBrgb(86, 55, 186)
HSLhsl(254, 54%, 47%)
HSVhsv(254, 70%, 73%)
CMYKcmyk(53.8%, 70.4%, 0%, 27.1%)
CIE-LABlab(34.51, 46.75, -64.38)
CIE-LCHlch(34.51, 79.57, 305.98°)
OKLaboklab(45.59% 0.0561 -0.1851)
OKLCHoklch(45.59% 0.193 286.9)
XYZxyz(14.0642, 8.2552, 47.2972)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637BA #9BBA37
analogous
#375ABA #5637BA #9737BA
triadic
#5637BA #BA5637 #37BA56
tetradic
#5637BA #BA375A #9BBA37 #37BA97
square
#5637BA #BA375A #9BBA37 #37BA97
split-complementary
#5637BA #BA9737 #5ABA37
monochromatic
#2A1B5C #40298B #5637BA #795FD0 #A18EDE

Accessibility & contrast

On white

7.92
#5637BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5637BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637BA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637BA#FFFFFF#000000##FFFFFF
##5637BA1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#2D5974
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5637ba;
/* rgb */ color: rgb(86, 55, 186);
/* oklch */ color: oklch(45.6% 0.193 286.9);
Tailwind
colors: {
  custom: {
    50: '#8f70d0',
    500: '#5637ba',
    950: '#000000',
  },
}
SCSS
$custom: #5637ba;
$custom-light: #8f70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5637ba",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 254.198,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.19338,
    "h": 286.9
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#5637BA
secondary
#B8C885
accent
#DE4ABB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5637BA

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

Preview Lab → · Contrast checker → · Palette generator →

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