#5E46CA#5E46CA

#5E46CA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.195 H 285.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5E46CA
RGBrgb(94, 70, 202)
HSLhsl(251, 55%, 53%)
HSVhsv(251, 65%, 79%)
CMYKcmyk(53.5%, 65.3%, 0%, 20.8%)
CIE-LABlab(39.62, 44.51, -65.36)
CIE-LCHlch(39.62, 79.08, 304.25°)
OKLaboklab(49.85% 0.0511 -0.1877)
OKLCHoklch(49.85% 0.195 285.2)
XYZxyz(17.4637, 11.0233, 57.0732)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46CA #B2CA46
analogous
#4670CA #5E46CA #A046CA
triadic
#5E46CA #CA5E46 #46CA5E
tetradic
#5E46CA #CA4670 #B2CA46 #46CAA0
square
#5E46CA #CA4670 #B2CA46 #46CAA0
split-complementary
#5E46CA #CAA046 #70CA46
monochromatic
#302174 #442FA4 #5E46CA #8776D8 #B1A5E5

Accessibility & contrast

On white

6.55
#5E46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5E46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46CA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46CA#FFFFFF#000000##FFFFFF
##5E46CA1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#316782
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e46ca;
/* rgb */ color: rgb(94, 70, 202);
/* oklch */ color: oklch(49.8% 0.195 285.2);
Tailwind
colors: {
  custom: {
    50: '#957bdb',
    500: '#5e46ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e46ca;
$custom-light: #957bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46ca",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 250.909,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49848,
    "c": 0.19455,
    "h": 285.2
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#5E46CA
secondary
#C8D29A
accent
#DF49C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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