#5E45D9#5E45D9

#5E45D9 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.214 H 283.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5E45D9
RGBrgb(94, 69, 217)
HSLhsl(250, 66%, 56%)
HSVhsv(250, 68%, 85%)
CMYKcmyk(56.7%, 68.2%, 0%, 14.9%)
CIE-LABlab(40.65, 49.54, -72.33)
CIE-LCHlch(40.65, 87.67, 304.41°)
OKLaboklab(50.97% 0.0499 -0.2082)
OKLCHoklch(50.97% 0.214 283.5)
XYZxyz(19.2648, 11.6445, 66.8647)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45D9 #C0D945
analogous
#4576D9 #5E45D9 #A845D9
triadic
#5E45D9 #D95E45 #45D95E
tetradic
#5E45D9 #D94576 #C0D945 #45D9A8
square
#5E45D9 #D94576 #C0D945 #45D9A8
split-complementary
#5E45D9 #D9A845 #76D945
monochromatic
#2E1C88 #3F26BB #5E45D9 #8A78E3 #B6ABEE

Accessibility & contrast

On white

6.31
#5E45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5E45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E45D9
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45D9#FFFFFF#000000##FFFFFF
##5E45D91.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#1C6C8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e45d9;
/* rgb */ color: rgb(94, 69, 217);
/* oklch */ color: oklch(51.0% 0.214 283.5);
Tailwind
colors: {
  custom: {
    50: '#987be6',
    500: '#5e45d9',
    950: '#000000',
  },
}
SCSS
$custom: #5e45d9;
$custom-light: #987be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45d9",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 250.135,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.21407,
    "h": 283.5
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#5E45D9
secondary
#D1DB9E
accent
#E93FCC
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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