#5E45D7#5E45D7

#5E45D7 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.8% C 0.212 H 283.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5E45D7
RGBrgb(94, 69, 215)
HSLhsl(250, 65%, 56%)
HSVhsv(250, 68%, 84%)
CMYKcmyk(56.3%, 67.9%, 0%, 15.7%)
CIE-LABlab(40.48, 48.95, -71.46)
CIE-LCHlch(40.48, 86.62, 304.41°)
OKLaboklab(50.8% 0.0502 -0.2056)
OKLCHoklch(50.8% 0.212 283.7)
XYZxyz(19.0062, 11.5411, 65.5029)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45D7 #BED745
analogous
#4575D7 #5E45D7 #A745D7
triadic
#5E45D7 #D75E45 #45D75E
tetradic
#5E45D7 #D74575 #BED745 #45D7A7
square
#5E45D7 #D74575 #BED745 #45D7A7
split-complementary
#5E45D7 #D7A745 #75D745
monochromatic
#2E1D85 #4027B7 #5E45D7 #8A77E2 #B5AAED

Accessibility & contrast

On white

6.35
#5E45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5E45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E45D7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45D7#FFFFFF#000000##FFFFFF
##5E45D71.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#206B89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e45d7;
/* rgb */ color: rgb(94, 69, 215);
/* oklch */ color: oklch(50.8% 0.212 283.7);
Tailwind
colors: {
  custom: {
    50: '#977be4',
    500: '#5e45d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e45d7;
$custom-light: #977be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45d7",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 250.274,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.21166,
    "h": 283.7
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#5E45D7
secondary
#D0DA9E
accent
#E840CB
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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