#5836BB#5836BB

#5836BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.196 H 287.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5836BB
RGBrgb(88, 54, 187)
HSLhsl(255, 55%, 47%)
HSVhsv(255, 71%, 73%)
CMYKcmyk(52.9%, 71.1%, 0%, 26.7%)
CIE-LABlab(34.60, 47.89, -64.82)
CIE-LCHlch(34.60, 80.59, 306.46°)
OKLaboklab(45.73% 0.0596 -0.1863)
OKLCHoklch(45.73% 0.196 287.7)
XYZxyz(14.3107, 8.3002, 47.8521)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836BB #99BB36
analogous
#3657BB #5836BB #9A36BB
triadic
#5836BB #BB5836 #36BB58
tetradic
#5836BB #BB3657 #99BB36 #36BB9A
square
#5836BB #BB3657 #99BB36 #36BB9A
split-complementary
#5836BB #BB9A36 #57BB36
monochromatic
#2B1B5C #42288C #5836BB #7B5ED0 #A28DDE

Accessibility & contrast

On white

7.89
#5836BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5836BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836BB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836BB#FFFFFF#000000##FFFFFF
##5836BB1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#315975
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5836bb;
/* rgb */ color: rgb(88, 54, 187);
/* oklch */ color: oklch(45.7% 0.196 287.7);
Tailwind
colors: {
  custom: {
    50: '#9170d1',
    500: '#5836bb',
    950: '#000000',
  },
}
SCSS
$custom: #5836bb;
$custom-light: #9170d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5836bb",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 255.338,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45725,
    "c": 0.19557,
    "h": 287.7
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#5836BB
secondary
#B7C984
accent
#DF49B8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5836BB

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

Preview Lab → · Contrast checker → · Palette generator →

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