#5637C2#5637C2

#5637C2 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.203 H 285.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5637C2
RGBrgb(86, 55, 194)
HSLhsl(253, 56%, 49%)
HSVhsv(253, 72%, 76%)
CMYKcmyk(55.7%, 71.6%, 0%, 23.9%)
CIE-LABlab(35.21, 49.09, -67.94)
CIE-LCHlch(35.21, 83.82, 305.85°)
OKLaboklab(46.3% 0.0545 -0.1955)
OKLCHoklch(46.3% 0.203 285.6)
XYZxyz(14.9386, 8.6050, 51.9022)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637C2 #A3C237
analogous
#375EC2 #5637C2 #9C37C2
triadic
#5637C2 #C25637 #37C256
tetradic
#5637C2 #C2375E #A3C237 #37C29C
square
#5637C2 #C2375E #A3C237 #37C29C
split-complementary
#5637C2 #C29C37 #5EC237
monochromatic
#2C1C63 #412992 #5637C2 #7C63D3 #A493E0

Accessibility & contrast

On white

7.72
#5637C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5637C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637C2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637C2#FFFFFF#000000##FFFFFF
##5637C21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#245C79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5637c2;
/* rgb */ color: rgb(86, 55, 194);
/* oklch */ color: oklch(46.3% 0.203 285.6);
Tailwind
colors: {
  custom: {
    50: '#9171d6',
    500: '#5637c2',
    950: '#000000',
  },
}
SCSS
$custom: #5637c2;
$custom-light: #9171d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5637c2",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 253.381,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.20293,
    "h": 285.6
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#5637C2
secondary
#BDCB89
accent
#DF49BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5637C2

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

Preview Lab → · Contrast checker → · Palette generator →

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