#5E47BE#5E47BE

#5E47BE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.178 H 286.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5E47BE
RGBrgb(94, 71, 190)
HSLhsl(252, 48%, 51%)
HSVhsv(252, 63%, 75%)
CMYKcmyk(50.5%, 62.6%, 0%, 25.5%)
CIE-LABlab(38.90, 40.35, -59.54)
CIE-LCHlch(38.90, 71.92, 304.12°)
OKLaboklab(49.04% 0.0513 -0.1706)
OKLCHoklch(49.04% 0.178 286.7)
XYZxyz(16.1609, 10.6031, 49.9003)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47BE #A7BE47
analogous
#476BBE #5E47BE #9947BE
triadic
#5E47BE #BE5E47 #47BE5E
tetradic
#5E47BE #BE476B #A7BE47 #47BE99
square
#5E47BE #BE476B #A7BE47 #47BE99
split-complementary
#5E47BE #BE9947 #6BBE47
monochromatic
#312466 #473494 #5E47BE #8674CE #ADA1DE

Accessibility & contrast

On white

6.73
#5E47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5E47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47BE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47BE#FFFFFF#000000##FFFFFF
##5E47BE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#3B637C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e47be;
/* rgb */ color: rgb(94, 71, 190);
/* oklch */ color: oklch(49.0% 0.178 286.7);
Tailwind
colors: {
  custom: {
    50: '#947bd2',
    500: '#5e47be',
    950: '#000000',
  },
}
SCSS
$custom: #5e47be;
$custom-light: #947bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47be",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 251.597,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.17813,
    "h": 286.7
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#5E47BE
secondary
#C1CB96
accent
#D750BD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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