#5C3ED9#5C3ED9

#5C3ED9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.222 H 283.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5C3ED9
RGBrgb(92, 62, 217)
HSLhsl(252, 67%, 55%)
HSVhsv(252, 71%, 85%)
CMYKcmyk(57.6%, 71.4%, 0%, 14.9%)
CIE-LABlab(39.12, 52.99, -74.84)
CIE-LCHlch(39.12, 91.70, 305.30°)
OKLaboklab(49.84% 0.0527 -0.2155)
OKLCHoklch(49.84% 0.222 283.7)
XYZxyz(18.6568, 10.7291, 66.7200)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ED9 #BBD93E
analogous
#3E6DD9 #5C3ED9 #AA3ED9
triadic
#5C3ED9 #D95C3E #3ED95C
tetradic
#5C3ED9 #D93E6D #BBD93E #3ED9AA
square
#5C3ED9 #D93E6D #BBD93E #3ED9AA
split-complementary
#5C3ED9 #D9AA3E #6DD93E
monochromatic
#2E1A83 #4024B6 #5C3ED9 #8771E3 #B2A4ED

Accessibility & contrast

On white

6.68
#5C3ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5C3ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ED9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ED9#FFFFFF#000000##FFFFFF
##5C3ED91.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#136888
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c3ed9;
/* rgb */ color: rgb(92, 62, 217);
/* oklch */ color: oklch(49.8% 0.222 283.7);
Tailwind
colors: {
  custom: {
    50: '#9776e6',
    500: '#5c3ed9',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ed9;
$custom-light: #9776e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ed9",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 251.613,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.2219,
    "h": 283.7
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#5C3ED9
secondary
#CDDA99
accent
#EA3EC9
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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