#5C4EED#5C4EED

#5C4EED is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.9% C 0.229 H 279.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5C4EED
RGBrgb(92, 78, 237)
HSLhsl(245, 82%, 62%)
HSVhsv(245, 67%, 93%)
CMYKcmyk(61.2%, 67.1%, 0%, 7.1%)
CIE-LABlab(44.00, 50.32, -78.22)
CIE-LCHlch(44.00, 93.01, 302.76°)
OKLaboklab(53.86% 0.0373 -0.2255)
OKLCHoklch(53.86% 0.229 279.4)
XYZxyz(22.4192, 13.8368, 81.5937)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4EED #DFED4E
analogous
#4E90ED #5C4EED #AC4EED
triadic
#5C4EED #ED5C4E #4EED5C
tetradic
#5C4EED #ED4E90 #DFED4E #4EEDAC
square
#5C4EED #ED4E90 #DFED4E #4EEDAC
split-complementary
#5C4EED #EDAC4E #90ED4E
monochromatic
#2012AF #2A17E6 #5C4EED #8F86F3 #C2BDF8

Accessibility & contrast

On white

5.57
#5C4EED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5C4EED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4EED
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4EED#FFFFFF#000000##FFFFFF
##5C4EED1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF2
Deuteranopia (green-blind)
#0062EA
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c4eed;
/* rgb */ color: rgb(92, 78, 237);
/* oklch */ color: oklch(53.9% 0.229 279.4);
Tailwind
colors: {
  custom: {
    50: '#9981f4',
    500: '#5c4eed',
    950: '#000000',
  },
}
SCSS
$custom: #5c4eed;
$custom-light: #9981f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4eed",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 245.283,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.22854,
    "h": 279.4
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#5C4EED
secondary
#E4E9AE
accent
#DE08CB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4EED

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

Preview Lab → · Contrast checker → · Palette generator →

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