#5C4EE7#5C4EE7

#5C4EE7 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.221 H 279.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5C4EE7
RGBrgb(92, 78, 231)
HSLhsl(245, 76%, 61%)
HSVhsv(245, 66%, 91%)
CMYKcmyk(60.2%, 66.2%, 0%, 9.4%)
CIE-LABlab(43.50, 48.48, -75.65)
CIE-LCHlch(43.50, 89.85, 302.65°)
OKLaboklab(53.34% 0.0381 -0.2179)
OKLCHoklch(53.34% 0.221 279.9)
XYZxyz(21.5573, 13.4920, 77.0540)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EE7 #D9E74E
analogous
#4E8CE7 #5C4EE7 #A84EE7
triadic
#5C4EE7 #E75C4E #4EE75C
tetradic
#5C4EE7 #E74E8C #D9E74E #4EE7A8
square
#5C4EE7 #E74E8C #D9E74E #4EE7A8
split-complementary
#5C4EE7 #E7A84E #8CE74E
monochromatic
#2316A4 #2F1EDA #5C4EE7 #8E84EE #BFBAF6

Accessibility & contrast

On white

5.68
#5C4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5C4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EE7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EE7#FFFFFF#000000##FFFFFF
##5C4EE71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.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: #5c4ee7;
/* rgb */ color: rgb(92, 78, 231);
/* oklch */ color: oklch(53.3% 0.221 279.9);
Tailwind
colors: {
  custom: {
    50: '#9881f0',
    500: '#5c4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ee7;
$custom-light: #9881f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ee7",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 245.49,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.22125,
    "h": 279.9
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

primary
#5C4EE7
secondary
#E0E5AB
accent
#D80DC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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