#5E45CA#5E45CA

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

Color values

HEX#5E45CA
RGBrgb(94, 69, 202)
HSLhsl(251, 56%, 53%)
HSVhsv(251, 66%, 79%)
CMYKcmyk(53.5%, 65.8%, 0%, 20.8%)
CIE-LABlab(39.41, 45.08, -65.70)
CIE-LCHlch(39.41, 79.68, 304.45°)
OKLaboklab(49.7% 0.0521 -0.1887)
OKLCHoklch(49.7% 0.196 285.4)
XYZxyz(17.4017, 10.8993, 57.0525)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45CA #B1CA45
analogous
#456ECA #5E45CA #A045CA
triadic
#5E45CA #CA5E45 #45CA5E
tetradic
#5E45CA #CA456E #B1CA45 #45CAA0
square
#5E45CA #CA456E #B1CA45 #45CAA0
split-complementary
#5E45CA #CAA045 #6ECA45
monochromatic
#302174 #442FA3 #5E45CA #8775D8 #B0A4E5

Accessibility & contrast

On white

6.60
#5E45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5E45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E45CA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45CA#FFFFFF#000000##FFFFFF
##5E45CA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e45ca;
/* rgb */ color: rgb(94, 69, 202);
/* oklch */ color: oklch(49.7% 0.196 285.4);
Tailwind
colors: {
  custom: {
    50: '#957adb',
    500: '#5e45ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e45ca;
$custom-light: #957adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45ca",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 251.278,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.19576,
    "h": 285.4
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#5E45CA
secondary
#C7D299
accent
#DF49C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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