#5637CA#5637CA

#5637CA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.212 H 284.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5637CA
RGBrgb(86, 55, 202)
HSLhsl(253, 58%, 50%)
HSVhsv(253, 73%, 79%)
CMYKcmyk(57.4%, 72.8%, 0%, 20.8%)
CIE-LABlab(35.93, 51.42, -71.42)
CIE-LCHlch(35.93, 88.01, 305.75°)
OKLaboklab(47.04% 0.0528 -0.2057)
OKLCHoklch(47.04% 0.212 284.4)
XYZxyz(15.8614, 8.9741, 56.7620)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637CA #ABCA37
analogous
#3761CA #5637CA #9F37CA
triadic
#5637CA #CA5637 #37CA56
tetradic
#5637CA #CA3761 #ABCA37 #37CA9F
square
#5637CA #CA3761 #ABCA37 #37CA9F
split-complementary
#5637CA #CA9F37 #61CA37
monochromatic
#2D1C6A #41299B #5637CA #7F67D7 #A898E4

Accessibility & contrast

On white

7.51
#5637CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5637CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637CA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637CA#FFFFFF#000000##FFFFFF
##5637CA1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#175F7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5637ca;
/* rgb */ color: rgb(86, 55, 202);
/* oklch */ color: oklch(47.0% 0.212 284.4);
Tailwind
colors: {
  custom: {
    50: '#9271db',
    500: '#5637ca',
    950: '#000000',
  },
}
SCSS
$custom: #5637ca;
$custom-light: #9271db;
$custom-dark: #000000;
JSON
{
  "hex": "#5637ca",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 252.653,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47035,
    "c": 0.21235,
    "h": 284.4
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#5637CA
secondary
#C1CF8E
accent
#E146C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5637CA

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

Preview Lab → · Contrast checker → · Palette generator →

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