#5E47BC#5E47BC

#5E47BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.176 H 287.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5E47BC
RGBrgb(94, 71, 188)
HSLhsl(252, 47%, 51%)
HSVhsv(252, 62%, 74%)
CMYKcmyk(50%, 62.2%, 0%, 26.3%)
CIE-LABlab(38.75, 39.75, -58.61)
CIE-LCHlch(38.75, 70.81, 304.14°)
OKLaboklab(48.88% 0.0515 -0.1679)
OKLCHoklch(48.88% 0.176 287)
XYZxyz(15.9438, 10.5163, 48.7569)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47BC #A5BC47
analogous
#476ABC #5E47BC #9847BC
triadic
#5E47BC #BC5E47 #47BC5E
tetradic
#5E47BC #BC476A #A5BC47 #47BC98
square
#5E47BC #BC476A #A5BC47 #47BC98
split-complementary
#5E47BC #BC9847 #6ABC47
monochromatic
#312464 #473591 #5E47BC #8574CC #ADA1DD

Accessibility & contrast

On white

6.77
#5E47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5E47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47BC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47BC#FFFFFF#000000##FFFFFF
##5E47BC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#3C637B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e47bc;
/* rgb */ color: rgb(94, 71, 188);
/* oklch */ color: oklch(48.9% 0.176 287.0);
Tailwind
colors: {
  custom: {
    50: '#937bd1',
    500: '#5e47bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e47bc;
$custom-light: #937bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47bc",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 251.795,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4888,
    "c": 0.17557,
    "h": 287
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#5E47BC
secondary
#BFC995
accent
#D652BC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5E47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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