#5637D7#5637D7

#5637D7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.227 H 282.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5637D7
RGBrgb(86, 55, 215)
HSLhsl(252, 67%, 53%)
HSVhsv(252, 74%, 84%)
CMYKcmyk(60%, 74.4%, 0%, 15.7%)
CIE-LABlab(37.14, 55.19, -76.96)
CIE-LCHlch(37.14, 94.70, 305.65°)
OKLaboklab(48.26% 0.0497 -0.2219)
OKLCHoklch(48.26% 0.227 282.6)
XYZxyz(17.4659, 9.6159, 65.2125)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637D7 #B8D737
analogous
#3768D7 #5637D7 #A637D7
triadic
#5637D7 #D75637 #37D756
tetradic
#5637D7 #D73768 #B8D737 #37D7A6
square
#5637D7 #D73768 #B8D737 #37D7A6
split-complementary
#5637D7 #D7A637 #68D737
monochromatic
#2C197B #3E23AE #5637D7 #816AE1 #AC9DEB

Accessibility & contrast

On white

7.18
#5637D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5637D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637D7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637D7#FFFFFF#000000##FFFFFF
##5637D71.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0052D4
Tritanopia (blue-blind)
#006485
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5637d7;
/* rgb */ color: rgb(86, 55, 215);
/* oklch */ color: oklch(48.3% 0.227 282.6);
Tailwind
colors: {
  custom: {
    50: '#9472e5',
    500: '#5637d7',
    950: '#000000',
  },
}
SCSS
$custom: #5637d7;
$custom-light: #9472e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5637d7",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 251.625,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.22739,
    "h": 282.6
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#5637D7
secondary
#CAD792
accent
#EA3EC8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5637D7

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

Preview Lab → · Contrast checker → · Palette generator →

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