#5C4CE1#5C4CE1

#5C4CE1 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.216 H 280.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5C4CE1
RGBrgb(92, 76, 225)
HSLhsl(246, 71%, 59%)
HSVhsv(246, 66%, 88%)
CMYKcmyk(59.1%, 66.2%, 0%, 11.8%)
CIE-LABlab(42.58, 47.76, -73.74)
CIE-LCHlch(42.58, 87.86, 302.93°)
OKLaboklab(52.53% 0.0404 -0.2124)
OKLCHoklch(52.53% 0.216 280.8)
XYZxyz(20.5844, 12.8790, 72.6207)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CE1 #D1E14C
analogous
#4C87E1 #5C4CE1 #A74CE1
triadic
#5C4CE1 #E15C4C #4CE15C
tetradic
#5C4CE1 #E14C87 #D1E14C #4CE1A7
square
#5C4CE1 #E14C87 #D1E14C #4CE1A7
split-complementary
#5C4CE1 #E1A74C #87E14C
monochromatic
#271A99 #3522CD #5C4CE1 #8C80EA #BBB5F3

Accessibility & contrast

On white

5.87
#5C4CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5C4CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CE1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CE1#FFFFFF#000000##FFFFFF
##5C4CE11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4ce1;
/* rgb */ color: rgb(92, 76, 225);
/* oklch */ color: oklch(52.5% 0.216 280.8);
Tailwind
colors: {
  custom: {
    50: '#977fec',
    500: '#5c4ce1',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ce1;
$custom-light: #977fec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ce1",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 246.443,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52525,
    "c": 0.21617,
    "h": 280.8
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#5C4CE1
secondary
#DBE2A7
accent
#EE3ADB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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