#5736CC#5736CC

#5736CC is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.216 H 284.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5736CC
RGBrgb(87, 54, 204)
HSLhsl(253, 60%, 51%)
HSVhsv(253, 74%, 80%)
CMYKcmyk(57.4%, 73.5%, 0%, 20%)
CIE-LABlab(36.03, 52.65, -72.43)
CIE-LCHlch(36.03, 89.54, 306.01°)
OKLaboklab(47.18% 0.0545 -0.2086)
OKLCHoklch(47.18% 0.216 284.6)
XYZxyz(16.1454, 9.0232, 58.0059)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736CC #ABCC36
analogous
#3660CC #5736CC #A236CC
triadic
#5736CC #CC5736 #36CC57
tetradic
#5736CC #CC3660 #ABCC36 #36CCA2
square
#5736CC #CC3660 #ABCC36 #36CCA2
split-complementary
#5736CC #CCA236 #60CC36
monochromatic
#2D1B6C #42289D #5736CC #8067D8 #A998E5

Accessibility & contrast

On white

7.49
#5736CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5736CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736CC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736CC#FFFFFF#000000##FFFFFF
##5736CC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#18607E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5736cc;
/* rgb */ color: rgb(87, 54, 204);
/* oklch */ color: oklch(47.2% 0.216 284.6);
Tailwind
colors: {
  custom: {
    50: '#9371dd',
    500: '#5736cc',
    950: '#000000',
  },
}
SCSS
$custom: #5736cc;
$custom-light: #9371dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5736cc",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 253.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.21558,
    "h": 284.6
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#5736CC
secondary
#C2D08E
accent
#E345C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5736CC

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

Preview Lab → · Contrast checker → · Palette generator →

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