#5E47E6#5E47E6

#5E47E6 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.4% C 0.227 H 281.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5E47E6
RGBrgb(94, 71, 230)
HSLhsl(249, 76%, 59%)
HSVhsv(249, 69%, 90%)
CMYKcmyk(59.1%, 69.1%, 0%, 9.8%)
CIE-LABlab(42.15, 52.33, -77.28)
CIE-LCHlch(42.15, 93.33, 304.10°)
OKLaboklab(52.39% 0.0462 -0.2227)
OKLCHoklch(52.39% 0.227 281.7)
XYZxyz(21.1478, 12.5979, 76.1648)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E47E6 #CFE647
analogous
#4780E6 #5E47E6 #AE47E6
triadic
#5E47E6 #E65E47 #47E65E
tetradic
#5E47E6 #E64780 #CFE647 #47E6AE
square
#5E47E6 #E64780 #CFE647 #47E6AE
split-complementary
#5E47E6 #E6AE47 #80E647
monochromatic
#29159D #371DD3 #5E47E6 #8D7DED #BCB3F5

Accessibility & contrast

On white

5.97
#5E47E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5E47E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E47E6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E47E6#FFFFFF#000000##FFFFFF
##5E47E61.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e47e6;
/* rgb */ color: rgb(94, 71, 230);
/* oklch */ color: oklch(52.4% 0.227 281.7);
Tailwind
colors: {
  custom: {
    50: '#9a7cef',
    500: '#5e47e6',
    950: '#000000',
  },
}
SCSS
$custom: #5e47e6;
$custom-light: #9a7cef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e47e6",
  "rgb": {
    "r": 94,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 248.679,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.2274,
    "h": 281.7
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#5E47E6
secondary
#DBE4A5
accent
#F335D7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E47E6

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

Preview Lab → · Contrast checker → · Palette generator →

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