#5E45CD#5E45CD

#5E45CD is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.9% C 0.199 H 285.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5E45CD
RGBrgb(94, 69, 205)
HSLhsl(251, 58%, 54%)
HSVhsv(251, 66%, 80%)
CMYKcmyk(54.1%, 66.3%, 0%, 19.6%)
CIE-LABlab(39.65, 45.97, -67.05)
CIE-LCHlch(39.65, 81.29, 304.44°)
OKLaboklab(49.95% 0.0517 -0.1926)
OKLCHoklch(49.95% 0.199 285)
XYZxyz(17.7603, 11.0427, 58.9414)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45CD #B4CD45
analogous
#4570CD #5E45CD #A245CD
triadic
#5E45CD #CD5E45 #45CD5E
tetradic
#5E45CD #CD4570 #B4CD45 #45CDA2
square
#5E45CD #CD4570 #B4CD45 #45CDA2
split-complementary
#5E45CD #CDA245 #70CD45
monochromatic
#302077 #442DA8 #5E45CD #8875DA #B1A5E7

Accessibility & contrast

On white

6.54
#5E45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5E45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E45CD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45CD#FFFFFF#000000##FFFFFF
##5E45CD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#2E6783
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e45cd;
/* rgb */ color: rgb(94, 69, 205);
/* oklch */ color: oklch(49.9% 0.199 285.0);
Tailwind
colors: {
  custom: {
    50: '#967add',
    500: '#5e45cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e45cd;
$custom-light: #967add;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45cd",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 251.029,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.19946,
    "h": 285
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#5E45CD
secondary
#C9D49A
accent
#E147C5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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