#5E36EE#5E36EE

#5E36EE is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.253 H 282.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5E36EE
RGBrgb(94, 54, 238)
HSLhsl(253, 84%, 57%)
HSVhsv(253, 77%, 93%)
CMYKcmyk(60.5%, 77.3%, 0%, 6.7%)
CIE-LABlab(39.90, 63.06, -85.52)
CIE-LCHlch(39.90, 106.26, 306.41°)
OKLaboklab(51.02% 0.0557 -0.2466)
OKLCHoklch(51.02% 0.253 282.7)
XYZxyz(21.3631, 11.1896, 81.9064)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36EE #C6EE36
analogous
#366AEE #5E36EE #BA36EE
triadic
#5E36EE #EE5E36 #36EE5E
tetradic
#5E36EE #EE366A #C6EE36 #36EEBA
square
#5E36EE #EE366A #C6EE36 #36EEBA
split-complementary
#5E36EE #EEBA36 #6AEE36
monochromatic
#2C0D9C #3C12D5 #5E36EE #8B6EF3 #B8A7F8

Accessibility & contrast

On white

6.49
#5E36EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5E36EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E36EE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36EE#FFFFFF#000000##FFFFFF
##5E36EE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064F3
Deuteranopia (green-blind)
#0058EB
Tritanopia (blue-blind)
#006D92
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e36ee;
/* rgb */ color: rgb(94, 54, 238);
/* oklch */ color: oklch(51.0% 0.253 282.7);
Tailwind
colors: {
  custom: {
    50: '#9c73f5',
    500: '#5e36ee',
    950: '#000000',
  },
}
SCSS
$custom: #5e36ee;
$custom-light: #9c73f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36ee",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 238
  },
  "hsl": {
    "h": 253.043,
    "s": 84.404,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.25283,
    "h": 282.7
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#5E36EE
secondary
#D5E59B
accent
#FB2DCE
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100817
muted
#7F7B85

Preview Lab

Preview with #5E36EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5E36EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva