#5836CD#5836CD

#5836CD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.217 H 284.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5836CD
RGBrgb(88, 54, 205)
HSLhsl(254, 60%, 51%)
HSVhsv(254, 74%, 80%)
CMYKcmyk(57.1%, 73.7%, 0%, 19.6%)
CIE-LABlab(36.21, 53.07, -72.70)
CIE-LCHlch(36.21, 90.01, 306.13°)
OKLaboklab(47.36% 0.0557 -0.2094)
OKLCHoklch(47.36% 0.217 284.9)
XYZxyz(16.3598, 9.1198, 58.6440)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5836CD #ABCD36
analogous
#365FCD #5836CD #A336CD
triadic
#5836CD #CD5836 #36CD58
tetradic
#5836CD #CD365F #ABCD36 #36CDA3
square
#5836CD #CD365F #ABCD36 #36CDA3
split-complementary
#5836CD #CDA336 #5FCD36
monochromatic
#2E1B6D #42279E #5836CD #8167D9 #A998E5

Accessibility & contrast

On white

7.44
#5836CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5836CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5836CD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5836CD#FFFFFF#000000##FFFFFF
##5836CD1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#1A607F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5836cd;
/* rgb */ color: rgb(88, 54, 205);
/* oklch */ color: oklch(47.4% 0.217 284.9);
Tailwind
colors: {
  custom: {
    50: '#9471dd',
    500: '#5836cd',
    950: '#000000',
  },
}
SCSS
$custom: #5836cd;
$custom-light: #9471dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5836cd",
  "rgb": {
    "r": 88,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 253.51,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47361,
    "c": 0.21663,
    "h": 284.9
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#5836CD
secondary
#C2D18E
accent
#E344C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5836CD

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

Preview Lab → · Contrast checker → · Palette generator →

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