#5736CD#5736CD

#5736CD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.217 H 284.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5736CD
RGBrgb(87, 54, 205)
HSLhsl(253, 60%, 51%)
HSVhsv(253, 74%, 80%)
CMYKcmyk(57.6%, 73.7%, 0%, 19.6%)
CIE-LABlab(36.12, 52.94, -72.86)
CIE-LCHlch(36.12, 90.06, 306.00°)
OKLaboklab(47.27% 0.0542 -0.2098)
OKLCHoklch(47.27% 0.217 284.5)
XYZxyz(16.2657, 9.0713, 58.6396)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736CD #ACCD36
analogous
#3660CD #5736CD #A336CD
triadic
#5736CD #CD5736 #36CD57
tetradic
#5736CD #CD3660 #ACCD36 #36CDA3
square
#5736CD #CD3660 #ACCD36 #36CDA3
split-complementary
#5736CD #CDA336 #60CD36
monochromatic
#2D1B6D #41279E #5736CD #8067D9 #A998E5

Accessibility & contrast

On white

7.46
#5736CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5736CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736CD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736CD#FFFFFF#000000##FFFFFF
##5736CD1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#15607F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5736cd;
/* rgb */ color: rgb(87, 54, 205);
/* oklch */ color: oklch(47.3% 0.217 284.5);
Tailwind
colors: {
  custom: {
    50: '#9371dd',
    500: '#5736cd',
    950: '#000000',
  },
}
SCSS
$custom: #5736cd;
$custom-light: #9371dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5736cd",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 253.113,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.21674,
    "h": 284.5
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#5736CD
secondary
#C2D18E
accent
#E344C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5736CD

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

Preview Lab → · Contrast checker → · Palette generator →

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