#5E41EA#5E41EA

#5E41EA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.238 H 282.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5E41EA
RGBrgb(94, 65, 234)
HSLhsl(250, 80%, 59%)
HSVhsv(250, 72%, 92%)
CMYKcmyk(59.8%, 72.2%, 0%, 8.2%)
CIE-LABlab(41.37, 56.66, -80.82)
CIE-LCHlch(41.37, 98.70, 305.03°)
OKLaboklab(51.94% 0.0498 -0.233)
OKLCHoklch(51.94% 0.238 282.1)
XYZxyz(21.3530, 12.0993, 79.0361)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41EA #CDEA41
analogous
#4178EA #5E41EA #B241EA
triadic
#5E41EA #EA5E41 #41EA5E
tetradic
#5E41EA #EA4178 #CDEA41 #41EAB2
square
#5E41EA #EA4178 #CDEA41 #41EAB2
split-complementary
#5E41EA #EAB241 #78EA41
monochromatic
#2A129F #3818D6 #5E41EA #8D78F0 #BBAFF6

Accessibility & contrast

On white

6.14
#5E41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E41EA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41EA#FFFFFF#000000##FFFFFF
##5E41EA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#005CE7
Tritanopia (blue-blind)
#007092
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e41ea;
/* rgb */ color: rgb(94, 65, 234);
/* oklch */ color: oklch(51.9% 0.238 282.1);
Tailwind
colors: {
  custom: {
    50: '#9b79f2',
    500: '#5e41ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e41ea;
$custom-light: #9b79f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41ea",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 250.296,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.23826,
    "h": 282.1
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#5E41EA
secondary
#D9E5A2
accent
#F731D5
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5E41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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