#5836C8#5836C8

#5836C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.211 H 285.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5836C8
RGBrgb(88, 54, 200)
HSLhsl(254, 57%, 50%)
HSVhsv(254, 73%, 78%)
CMYKcmyk(56%, 73%, 0%, 21.6%)
CIE-LABlab(35.76, 51.63, -70.54)
CIE-LCHlch(35.76, 87.42, 306.20°)
OKLaboklab(46.9% 0.0568 -0.203)
OKLCHoklch(46.9% 0.211 285.6)
XYZxyz(15.7658, 8.8823, 55.5161)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836C8 #A6C836
analogous
#365DC8 #5836C8 #A136C8
triadic
#5836C8 #C85836 #36C858
tetradic
#5836C8 #C8365D #A6C836 #36C8A1
square
#5836C8 #C8365D #A6C836 #36C8A1
split-complementary
#5836C8 #C8A136 #5DC836
monochromatic
#2E1C68 #432998 #5836C8 #8066D6 #A896E3

Accessibility & contrast

On white

7.56
#5836C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5836C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836C8
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836C8#FFFFFF#000000##FFFFFF
##5836C81.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#235E7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5836c8;
/* rgb */ color: rgb(88, 54, 200);
/* oklch */ color: oklch(46.9% 0.211 285.6);
Tailwind
colors: {
  custom: {
    50: '#9371da',
    500: '#5836c8',
    950: '#000000',
  },
}
SCSS
$custom: #5836c8;
$custom-light: #9371da;
$custom-dark: #000000;
JSON
{
  "hex": "#5836c8",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 253.973,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.21085,
    "h": 285.6
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#5836C8
secondary
#BFCE8C
accent
#E147BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5836C8

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

Preview Lab → · Contrast checker → · Palette generator →

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