#5836C4#5836C4

#5836C4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.206 H 286.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5836C4
RGBrgb(88, 54, 196)
HSLhsl(254, 57%, 49%)
HSVhsv(254, 72%, 77%)
CMYKcmyk(55.1%, 72.4%, 0%, 23.1%)
CIE-LABlab(35.40, 50.48, -68.80)
CIE-LCHlch(35.40, 85.33, 306.27°)
OKLaboklab(46.53% 0.0577 -0.1979)
OKLCHoklch(46.53% 0.206 286.3)
XYZxyz(15.3045, 8.6977, 53.0862)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836C4 #A2C436
analogous
#365BC4 #5836C4 #9F36C4
triadic
#5836C4 #C45836 #36C458
tetradic
#5836C4 #C4365B #A2C436 #36C49F
square
#5836C4 #C4365B #A2C436 #36C49F
split-complementary
#5836C4 #C49F36 #5BC436
monochromatic
#2D1C64 #422994 #5836C4 #7E63D4 #A693E1

Accessibility & contrast

On white

7.66
#5836C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5836C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836C4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836C4#FFFFFF#000000##FFFFFF
##5836C41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#285C7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5836c4;
/* rgb */ color: rgb(88, 54, 196);
/* oklch */ color: oklch(46.5% 0.206 286.3);
Tailwind
colors: {
  custom: {
    50: '#9270d7',
    500: '#5836c4',
    950: '#000000',
  },
}
SCSS
$custom: #5836c4;
$custom-light: #9270d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5836c4",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 254.366,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.20618,
    "h": 286.3
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#5836C4
secondary
#BCCC89
accent
#E048BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5836C4

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

Preview Lab → · Contrast checker → · Palette generator →

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