#5E3DEE#5E3DEE

#5E3DEE is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.247 H 282.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5E3DEE
RGBrgb(94, 61, 238)
HSLhsl(251, 84%, 59%)
HSVhsv(251, 74%, 93%)
CMYKcmyk(60.5%, 74.4%, 0%, 6.7%)
CIE-LABlab(41.04, 59.80, -83.64)
CIE-LCHlch(41.04, 102.81, 305.56°)
OKLaboklab(51.82% 0.0515 -0.2412)
OKLCHoklch(51.82% 0.247 282)
XYZxyz(21.7126, 11.8887, 82.0229)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3DEE #CDEE3D
analogous
#3D74EE #5E3DEE #B63DEE
triadic
#5E3DEE #EE5E3D #3DEE5E
tetradic
#5E3DEE #EE3D74 #CDEE3D #3DEEB6
square
#5E3DEE #EE3D74 #CDEE3D #3DEEB6
split-complementary
#5E3DEE #EEB63D #74EE3D
monochromatic
#2A0EA2 #3813DB #5E3DEE #8D75F3 #BBAEF8

Accessibility & contrast

On white

6.22
#5E3DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5E3DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3DEE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3DEE#FFFFFF#000000##FFFFFF
##5E3DEE1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067F3
Deuteranopia (green-blind)
#005AEB
Tritanopia (blue-blind)
#007093
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e3dee;
/* rgb */ color: rgb(94, 61, 238);
/* oklch */ color: oklch(51.8% 0.247 282.0);
Tailwind
colors: {
  custom: {
    50: '#9c77f5',
    500: '#5e3dee',
    950: '#000000',
  },
}
SCSS
$custom: #5e3dee;
$custom-light: #9c77f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3dee",
  "rgb": {
    "r": 94,
    "g": 61,
    "b": 238
  },
  "hsl": {
    "h": 251.186,
    "s": 83.886,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.24664,
    "h": 282
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#5E3DEE
secondary
#D9E6A0
accent
#FA2ED4
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5E3DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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