#5E46C8#5E46C8

#5E46C8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.192 H 285.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5E46C8
RGBrgb(94, 70, 200)
HSLhsl(251, 54%, 53%)
HSVhsv(251, 65%, 78%)
CMYKcmyk(53%, 65%, 0%, 21.6%)
CIE-LABlab(39.46, 43.91, -64.46)
CIE-LCHlch(39.46, 78.00, 304.26°)
OKLaboklab(49.68% 0.0514 -0.1851)
OKLCHoklch(49.68% 0.192 285.5)
XYZxyz(17.2285, 10.9292, 55.8341)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46C8 #B0C846
analogous
#466FC8 #5E46C8 #9F46C8
triadic
#5E46C8 #C85E46 #46C85E
tetradic
#5E46C8 #C8466F #B0C846 #46C89F
square
#5E46C8 #C8466F #B0C846 #46C89F
split-complementary
#5E46C8 #C89F46 #6FC846
monochromatic
#312272 #4530A1 #5E46C8 #8775D6 #B0A4E4

Accessibility & contrast

On white

6.59
#5E46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5E46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46C8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46C8#FFFFFF#000000##FFFFFF
##5E46C81.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#336681
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e46c8;
/* rgb */ color: rgb(94, 70, 200);
/* oklch */ color: oklch(49.7% 0.192 285.5);
Tailwind
colors: {
  custom: {
    50: '#957bda',
    500: '#5e46c8',
    950: '#000000',
  },
}
SCSS
$custom: #5e46c8;
$custom-light: #957bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46c8",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 251.077,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.19205,
    "h": 285.5
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#5E46C8
secondary
#C7D199
accent
#DE4AC2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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