#5E43E1#5E43E1

#5E43E1 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.226 H 282.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5E43E1
RGBrgb(94, 67, 225)
HSLhsl(250, 72%, 57%)
HSVhsv(250, 70%, 88%)
CMYKcmyk(58.2%, 70.2%, 0%, 11.8%)
CIE-LABlab(40.94, 52.99, -76.42)
CIE-LCHlch(40.94, 92.99, 304.74°)
OKLaboklab(51.39% 0.0501 -0.2201)
OKLCHoklch(51.39% 0.226 282.8)
XYZxyz(20.2096, 11.8289, 72.4378)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E43E1 #C6E143
analogous
#4377E1 #5E43E1 #AD43E1
triadic
#5E43E1 #E15E43 #43E15E
tetradic
#5E43E1 #E14377 #C6E143 #43E1AD
square
#5E43E1 #E14377 #C6E143 #43E1AD
split-complementary
#5E43E1 #E1AD43 #77E143
monochromatic
#2C1792 #3C20C7 #5E43E1 #8B78E9 #B8ADF2

Accessibility & contrast

On white

6.24
#5E43E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5E43E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E43E1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E43E1#FFFFFF#000000##FFFFFF
##5E43E11.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#056E8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e43e1;
/* rgb */ color: rgb(94, 67, 225);
/* oklch */ color: oklch(51.4% 0.226 282.8);
Tailwind
colors: {
  custom: {
    50: '#997aec',
    500: '#5e43e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e43e1;
$custom-light: #997aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e43e1",
  "rgb": {
    "r": 94,
    "g": 67,
    "b": 225
  },
  "hsl": {
    "h": 250.253,
    "s": 72.477,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.22576,
    "h": 282.8
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#5E43E1
secondary
#D5E0A0
accent
#EF39D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E43E1

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

Preview Lab → · Contrast checker → · Palette generator →

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