#5836B7#5836B7

#5836B7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.191 H 288.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5836B7
RGBrgb(88, 54, 183)
HSLhsl(256, 54%, 46%)
HSVhsv(256, 70%, 72%)
CMYKcmyk(51.9%, 70.5%, 0%, 28.2%)
CIE-LABlab(34.25, 46.74, -63.02)
CIE-LCHlch(34.25, 78.46, 306.56°)
OKLaboklab(45.37% 0.0604 -0.181)
OKLCHoklch(45.37% 0.191 288.5)
XYZxyz(13.8884, 8.1313, 45.6283)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836B7 #95B736
analogous
#3655B7 #5836B7 #9936B7
triadic
#5836B7 #B75836 #36B758
tetradic
#5836B7 #B73655 #95B736 #36B799
square
#5836B7 #B73655 #95B736 #36B799
split-complementary
#5836B7 #B79936 #55B736
monochromatic
#2B1A58 #412888 #5836B7 #7A5BCF #A08BDD

Accessibility & contrast

On white

8.00
#5836B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5836B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836B7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836B7#FFFFFF#000000##FFFFFF
##5836B71.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#355873
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5836b7;
/* rgb */ color: rgb(88, 54, 183);
/* oklch */ color: oklch(45.4% 0.191 288.5);
Tailwind
colors: {
  custom: {
    50: '#9070ce',
    500: '#5836b7',
    950: '#000000',
  },
}
SCSS
$custom: #5836b7;
$custom-light: #9070ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5836b7",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 255.814,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.19081,
    "h": 288.5
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#5836B7
secondary
#B5C782
accent
#DE4AB7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5836B7

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

Preview Lab → · Contrast checker → · Palette generator →

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