#5E4EE7#5E4EE7

#5E4EE7 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.5% C 0.221 H 280.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5E4EE7
RGBrgb(94, 78, 231)
HSLhsl(246, 76%, 61%)
HSVhsv(246, 66%, 91%)
CMYKcmyk(59.3%, 66.2%, 0%, 9.4%)
CIE-LABlab(43.65, 48.77, -75.39)
CIE-LCHlch(43.65, 89.79, 302.90°)
OKLaboklab(53.49% 0.0406 -0.2171)
OKLCHoklch(53.49% 0.221 280.6)
XYZxyz(21.7597, 13.5964, 77.0635)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EE7 #D7E74E
analogous
#4E8AE7 #5E4EE7 #AB4EE7
triadic
#5E4EE7 #E75E4E #4EE75E
tetradic
#5E4EE7 #E74E8A #D7E74E #4EE7AB
square
#5E4EE7 #E74E8A #D7E74E #4EE7AB
split-complementary
#5E4EE7 #E7AB4E #8AE74E
monochromatic
#2516A4 #311EDA #5E4EE7 #8F84EE #C0BAF6

Accessibility & contrast

On white

5.65
#5E4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5E4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EE7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EE7#FFFFFF#000000##FFFFFF
##5E4EE71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e4ee7;
/* rgb */ color: rgb(94, 78, 231);
/* oklch */ color: oklch(53.5% 0.221 280.6);
Tailwind
colors: {
  custom: {
    50: '#9981f0',
    500: '#5e4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ee7;
$custom-light: #9981f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ee7",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 246.275,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53488,
    "c": 0.2209,
    "h": 280.6
  },
  "luminance": 0.13598
}

Semantic roles & 50–950 ramp

primary
#5E4EE7
secondary
#DFE5AB
accent
#D80DC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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