#5E49E6#5E49E6

#5E49E6 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.7% C 0.225 H 281.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5E49E6
RGBrgb(94, 73, 230)
HSLhsl(248, 76%, 59%)
HSVhsv(248, 68%, 90%)
CMYKcmyk(59.1%, 68.3%, 0%, 9.8%)
CIE-LABlab(42.55, 51.24, -76.63)
CIE-LCHlch(42.55, 92.18, 303.77°)
OKLaboklab(52.67% 0.0447 -0.2208)
OKLCHoklch(52.67% 0.225 281.4)
XYZxyz(21.2771, 12.8565, 76.2079)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49E6 #D1E649
analogous
#4983E6 #5E49E6 #AC49E6
triadic
#5E49E6 #E65E49 #49E65E
tetradic
#5E49E6 #E64983 #D1E649 #49E6AC
square
#5E49E6 #E64983 #D1E649 #49E6AC
split-complementary
#5E49E6 #E6AC49 #83E649
monochromatic
#28169F #361DD5 #5E49E6 #8E7FED #BDB5F5

Accessibility & contrast

On white

5.88
#5E49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5E49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49E6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49E6#FFFFFF#000000##FFFFFF
##5E49E61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e49e6;
/* rgb */ color: rgb(94, 73, 230);
/* oklch */ color: oklch(52.7% 0.225 281.4);
Tailwind
colors: {
  custom: {
    50: '#997eef',
    500: '#5e49e6',
    950: '#000000',
  },
}
SCSS
$custom: #5e49e6;
$custom-light: #997eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49e6",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 248.025,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.22525,
    "h": 281.4
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#5E49E6
secondary
#DCE4A7
accent
#F235D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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