#5736BC#5736BC

#5736BC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.197 H 287.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5736BC
RGBrgb(87, 54, 188)
HSLhsl(255, 55%, 47%)
HSVhsv(255, 71%, 74%)
CMYKcmyk(53.7%, 71.3%, 0%, 26.3%)
CIE-LABlab(34.59, 48.02, -65.43)
CIE-LCHlch(34.59, 81.16, 306.28°)
OKLaboklab(45.72% 0.058 -0.1881)
OKLCHoklch(45.72% 0.197 287.1)
XYZxyz(14.3241, 8.2947, 48.4135)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736BC #9BBC36
analogous
#3658BC #5736BC #9A36BC
triadic
#5736BC #BC5736 #36BC57
tetradic
#5736BC #BC3658 #9BBC36 #36BC9A
square
#5736BC #BC3658 #9BBC36 #36BC9A
split-complementary
#5736BC #BC9A36 #58BC36
monochromatic
#2B1B5D #41288C #5736BC #7B5ED1 #A28EDF

Accessibility & contrast

On white

7.90
#5736BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5736BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736BC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736BC#FFFFFF#000000##FFFFFF
##5736BC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#2E5A75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5736bc;
/* rgb */ color: rgb(87, 54, 188);
/* oklch */ color: oklch(45.7% 0.197 287.1);
Tailwind
colors: {
  custom: {
    50: '#9070d1',
    500: '#5736bc',
    950: '#000000',
  },
}
SCSS
$custom: #5736bc;
$custom-light: #9070d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5736bc",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 254.776,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.19683,
    "h": 287.1
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#5736BC
secondary
#B8C985
accent
#DF49BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5736BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5736BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva