#5E36D5#5E36D5

#5E36D5 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.225 H 286.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5E36D5
RGBrgb(94, 54, 213)
HSLhsl(255, 65%, 52%)
HSVhsv(255, 75%, 84%)
CMYKcmyk(55.9%, 74.6%, 0%, 16.5%)
CIE-LABlab(37.52, 56.14, -75.16)
CIE-LCHlch(37.52, 93.81, 306.75°)
OKLaboklab(48.64% 0.0623 -0.2164)
OKLCHoklch(48.64% 0.225 286.1)
XYZxyz(17.9419, 9.8211, 63.8881)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36D5 #ADD536
analogous
#365ED5 #5E36D5 #AD36D5
triadic
#5E36D5 #D55E36 #36D55E
tetradic
#5E36D5 #D5365E #ADD536 #36D5AD
square
#5E36D5 #D5365E #ADD536 #36D5AD
split-complementary
#5E36D5 #D5AD36 #5ED536
monochromatic
#311978 #4524AA #5E36D5 #8769E0 #AF9BEA

Accessibility & contrast

On white

7.08
#5E36D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5E36D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36D5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36D5#FFFFFF#000000##FFFFFF
##5E36D51.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDA
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#256383
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e36d5;
/* rgb */ color: rgb(94, 54, 213);
/* oklch */ color: oklch(48.6% 0.225 286.1);
Tailwind
colors: {
  custom: {
    50: '#9872e3',
    500: '#5e36d5',
    950: '#000000',
  },
}
SCSS
$custom: #5e36d5;
$custom-light: #9872e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36d5",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 213
  },
  "hsl": {
    "h": 255.094,
    "s": 65.432,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.22517,
    "h": 286.1
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#5E36D5
secondary
#C5D691
accent
#E83FBE
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E36D5

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

Preview Lab → · Contrast checker → · Palette generator →

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