#5E47CF#5E47CF

#5E47CF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.200 H 284.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5E47CF
RGBrgb(94, 71, 207)
HSLhsl(250, 59%, 55%)
HSVhsv(250, 66%, 81%)
CMYKcmyk(54.6%, 65.7%, 0%, 18.8%)
CIE-LABlab(40.23, 45.44, -67.26)
CIE-LCHlch(40.23, 81.17, 304.04°)
OKLaboklab(50.41% 0.0496 -0.1933)
OKLCHoklch(50.41% 0.2 284.4)
XYZxyz(18.1284, 11.3901, 60.2626)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47CF #B8CF47
analogous
#4774CF #5E47CF #A247CF
triadic
#5E47CF #CF5E47 #47CF5E
tetradic
#5E47CF #CF4774 #B8CF47 #47CFA2
square
#5E47CF #CF4774 #B8CF47 #47CFA2
split-complementary
#5E47CF #CFA247 #74CF47
monochromatic
#30207B #422DAC #5E47CF #8878DC #B3A8E8

Accessibility & contrast

On white

6.41
#5E47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5E47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47CF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47CF#FFFFFF#000000##FFFFFF
##5E47CF1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#2B6985
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e47cf;
/* rgb */ color: rgb(94, 71, 207);
/* oklch */ color: oklch(50.4% 0.200 284.4);
Tailwind
colors: {
  custom: {
    50: '#967cdf',
    500: '#5e47cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e47cf;
$custom-light: #967cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47cf",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 250.147,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.19954,
    "h": 284.4
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#5E47CF
secondary
#CCD69C
accent
#E246C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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