#5E47CD#5E47CD

#5E47CD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.197 H 284.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5E47CD
RGBrgb(94, 71, 205)
HSLhsl(250, 57%, 54%)
HSVhsv(250, 65%, 80%)
CMYKcmyk(54.1%, 65.4%, 0%, 19.6%)
CIE-LABlab(40.07, 44.84, -66.37)
CIE-LCHlch(40.07, 80.09, 304.05°)
OKLaboklab(50.25% 0.0498 -0.1906)
OKLCHoklch(50.25% 0.197 284.7)
XYZxyz(17.8854, 11.2929, 58.9831)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47CD #B6CD47
analogous
#4773CD #5E47CD #A147CD
triadic
#5E47CD #CD5E47 #47CD5E
tetradic
#5E47CD #CD4773 #B6CD47 #47CDA1
square
#5E47CD #CD4773 #B6CD47 #47CDA1
split-complementary
#5E47CD #CDA147 #73CD47
monochromatic
#302179 #432EA9 #5E47CD #8877DA #B2A7E7

Accessibility & contrast

On white

6.44
#5E47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5E47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47CD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47CD#FFFFFF#000000##FFFFFF
##5E47CD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#2D6984
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e47cd;
/* rgb */ color: rgb(94, 71, 205);
/* oklch */ color: oklch(50.2% 0.197 284.7);
Tailwind
colors: {
  custom: {
    50: '#967cdd',
    500: '#5e47cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e47cd;
$custom-light: #967cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47cd",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 250.299,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.19706,
    "h": 284.7
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#5E47CD
secondary
#CBD49B
accent
#E147C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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