#5836CC#5836CC

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

Color values

HEX#5836CC
RGBrgb(88, 54, 204)
HSLhsl(254, 60%, 51%)
HSVhsv(254, 74%, 80%)
CMYKcmyk(56.9%, 73.5%, 0%, 20%)
CIE-LABlab(36.12, 52.78, -72.27)
CIE-LCHlch(36.12, 89.49, 306.14°)
OKLaboklab(47.27% 0.0559 -0.2081)
OKLCHoklch(47.27% 0.215 285)
XYZxyz(16.2394, 9.0717, 58.0103)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836CC #AACC36
analogous
#365FCC #5836CC #A336CC
triadic
#5836CC #CC5836 #36CC58
tetradic
#5836CC #CC365F #AACC36 #36CCA3
square
#5836CC #CC365F #AACC36 #36CCA3
split-complementary
#5836CC #CCA336 #5FCC36
monochromatic
#2E1B6C #42289D #5836CC #8167D8 #A998E5

Accessibility & contrast

On white

7.46
#5836CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5836CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836CC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836CC#FFFFFF#000000##FFFFFF
##5836CC1.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)
#0059D0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#1C607E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5836cc;
/* rgb */ color: rgb(88, 54, 204);
/* oklch */ color: oklch(47.3% 0.215 285.0);
Tailwind
colors: {
  custom: {
    50: '#9371dd',
    500: '#5836cc',
    950: '#000000',
  },
}
SCSS
$custom: #5836cc;
$custom-light: #9371dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5836cc",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 253.6,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.21547,
    "h": 285
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#5836CC
secondary
#C1D08E
accent
#E345BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5836CC

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

Preview Lab → · Contrast checker → · Palette generator →

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