#5E47CC#5E47CC

#5E47CC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.196 H 284.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5E47CC
RGBrgb(94, 71, 204)
HSLhsl(250, 57%, 54%)
HSVhsv(250, 65%, 80%)
CMYKcmyk(53.9%, 65.2%, 0%, 20%)
CIE-LABlab(39.99, 44.54, -65.92)
CIE-LCHlch(39.99, 79.56, 304.05°)
OKLaboklab(50.17% 0.05 -0.1893)
OKLCHoklch(50.17% 0.196 284.8)
XYZxyz(17.7651, 11.2448, 58.3494)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47CC #B5CC47
analogous
#4773CC #5E47CC #A147CC
triadic
#5E47CC #CC5E47 #47CC5E
tetradic
#5E47CC #CC4773 #B5CC47 #47CCA1
square
#5E47CC #CC4773 #B5CC47 #47CCA1
split-complementary
#5E47CC #CCA147 #73CC47
monochromatic
#302177 #432EA7 #5E47CC #8877D9 #B2A7E7

Accessibility & contrast

On white

6.46
#5E47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5E47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47CC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47CC#FFFFFF#000000##FFFFFF
##5E47CC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#2E6883
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e47cc;
/* rgb */ color: rgb(94, 71, 204);
/* oklch */ color: oklch(50.2% 0.196 284.8);
Tailwind
colors: {
  custom: {
    50: '#967cdd',
    500: '#5e47cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e47cc;
$custom-light: #967cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47cc",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 250.376,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.19582,
    "h": 284.8
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#5E47CC
secondary
#CAD49B
accent
#E048C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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