#5836BD#5836BD

#5836BD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.198 H 287.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5836BD
RGBrgb(88, 54, 189)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 71%, 74%)
CMYKcmyk(53.4%, 71.4%, 0%, 25.9%)
CIE-LABlab(34.77, 48.47, -65.71)
CIE-LCHlch(34.77, 81.65, 306.41°)
OKLaboklab(45.9% 0.0592 -0.1889)
OKLCHoklch(45.9% 0.198 287.4)
XYZxyz(14.5263, 8.3864, 48.9876)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836BD #9BBD36
analogous
#3657BD #5836BD #9B36BD
triadic
#5836BD #BD5836 #36BD58
tetradic
#5836BD #BD3657 #9BBD36 #36BD9B
square
#5836BD #BD3657 #9BBD36 #36BD9B
split-complementary
#5836BD #BD9B36 #57BD36
monochromatic
#2C1B5E #42288D #5836BD #7C5FD1 #A38FDF

Accessibility & contrast

On white

7.84
#5836BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5836BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836BD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836BD#FFFFFF#000000##FFFFFF
##5836BD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#2F5A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5836bd;
/* rgb */ color: rgb(88, 54, 189);
/* oklch */ color: oklch(45.9% 0.198 287.4);
Tailwind
colors: {
  custom: {
    50: '#9170d2',
    500: '#5836bd',
    950: '#000000',
  },
}
SCSS
$custom: #5836bd;
$custom-light: #9170d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5836bd",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 255.111,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.19795,
    "h": 287.4
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5836BD

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

Preview Lab → · Contrast checker → · Palette generator →

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