#5836BC#5836BC

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

Color values

HEX#5836BC
RGBrgb(88, 54, 188)
HSLhsl(255, 55%, 47%)
HSVhsv(255, 71%, 74%)
CMYKcmyk(53.2%, 71.3%, 0%, 26.3%)
CIE-LABlab(34.69, 48.18, -65.26)
CIE-LCHlch(34.69, 81.12, 306.44°)
OKLaboklab(45.81% 0.0594 -0.1876)
OKLCHoklch(45.81% 0.197 287.6)
XYZxyz(14.4181, 8.3432, 48.4179)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836BC #9ABC36
analogous
#3657BC #5836BC #9B36BC
triadic
#5836BC #BC5836 #36BC58
tetradic
#5836BC #BC3657 #9ABC36 #36BC9B
square
#5836BC #BC3657 #9ABC36 #36BC9B
split-complementary
#5836BC #BC9B36 #57BC36
monochromatic
#2B1B5D #42288C #5836BC #7B5ED1 #A28EDF

Accessibility & contrast

On white

7.87
#5836BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5836BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836BC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836BC#FFFFFF#000000##FFFFFF
##5836BC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#305975
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5836bc;
/* rgb */ color: rgb(88, 54, 188);
/* oklch */ color: oklch(45.8% 0.197 287.6);
Tailwind
colors: {
  custom: {
    50: '#9170d1',
    500: '#5836bc',
    950: '#000000',
  },
}
SCSS
$custom: #5836bc;
$custom-light: #9170d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5836bc",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 255.224,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.19676,
    "h": 287.6
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5836BC

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

Preview Lab → · Contrast checker → · Palette generator →

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