#5836BE#5836BE

#5836BE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.199 H 287.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5836BE
RGBrgb(88, 54, 190)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(53.7%, 71.6%, 0%, 25.5%)
CIE-LABlab(34.86, 48.76, -66.15)
CIE-LCHlch(34.86, 82.18, 306.39°)
OKLaboklab(45.99% 0.059 -0.1902)
OKLCHoklch(45.99% 0.199 287.2)
XYZxyz(14.6352, 8.4300, 49.5612)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836BE #9CBE36
analogous
#3658BE #5836BE #9C36BE
triadic
#5836BE #BE5836 #36BE58
tetradic
#5836BE #BE3658 #9CBE36 #36BE9C
square
#5836BE #BE3658 #9CBE36 #36BE9C
split-complementary
#5836BE #BE9C36 #58BE36
monochromatic
#2C1B5F #42288E #5836BE #7C60D2 #A38FDF

Accessibility & contrast

On white

7.82
#5836BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5836BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836BE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836BE#FFFFFF#000000##FFFFFF
##5836BE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#2E5A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5836be;
/* rgb */ color: rgb(88, 54, 190);
/* oklch */ color: oklch(46.0% 0.199 287.2);
Tailwind
colors: {
  custom: {
    50: '#9170d3',
    500: '#5836be',
    950: '#000000',
  },
}
SCSS
$custom: #5836be;
$custom-light: #9170d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5836be",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 255,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.19913,
    "h": 287.2
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5836BE

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

Preview Lab → · Contrast checker → · Palette generator →

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