#5E3EE7#5E3EE7

#5E3EE7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.238 H 282.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5E3EE7
RGBrgb(94, 62, 231)
HSLhsl(251, 78%, 57%)
HSVhsv(251, 73%, 91%)
CMYKcmyk(59.3%, 73.2%, 0%, 9.4%)
CIE-LABlab(40.56, 57.30, -80.46)
CIE-LCHlch(40.56, 98.78, 305.46°)
OKLaboklab(51.28% 0.0525 -0.2319)
OKLCHoklch(51.28% 0.238 282.7)
XYZxyz(20.7580, 11.5930, 76.7296)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3EE7 #C7E73E
analogous
#3E72E7 #5E3EE7 #B33EE7
triadic
#5E3EE7 #E75E3E #3EE75E
tetradic
#5E3EE7 #E73E72 #C7E73E #3EE7B3
square
#5E3EE7 #E73E72 #C7E73E #3EE7B3
split-complementary
#5E3EE7 #E7B33E #72E73E
monochromatic
#2C1398 #3C1ACE #5E3EE7 #8B74EE #B9ABF5

Accessibility & contrast

On white

6.33
#5E3EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5E3EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3EE7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3EE7#FFFFFF#000000##FFFFFF
##5E3EE71.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EC
Deuteranopia (green-blind)
#005AE4
Tritanopia (blue-blind)
#006D8F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e3ee7;
/* rgb */ color: rgb(94, 62, 231);
/* oklch */ color: oklch(51.3% 0.238 282.7);
Tailwind
colors: {
  custom: {
    50: '#9a77f0',
    500: '#5e3ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ee7;
$custom-light: #9a77f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ee7",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 231
  },
  "hsl": {
    "h": 251.361,
    "s": 77.88,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.23778,
    "h": 282.7
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#5E3EE7
secondary
#D6E39E
accent
#F433D0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5E3EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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