#5C3ED6#5C3ED6

#5C3ED6 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.218 H 284.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5C3ED6
RGBrgb(92, 62, 214)
HSLhsl(252, 65%, 54%)
HSVhsv(252, 71%, 84%)
CMYKcmyk(57%, 71%, 0%, 16.1%)
CIE-LABlab(38.85, 52.12, -73.55)
CIE-LCHlch(38.85, 90.15, 305.32°)
OKLaboklab(49.57% 0.0533 -0.2118)
OKLCHoklch(49.57% 0.218 284.1)
XYZxyz(18.2701, 10.5745, 64.6836)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ED6 #B8D63E
analogous
#3E6CD6 #5C3ED6 #A83ED6
triadic
#5C3ED6 #D65C3E #3ED65C
tetradic
#5C3ED6 #D63E6C #B8D63E #3ED6A8
square
#5C3ED6 #D63E6C #B8D63E #3ED6A8
split-complementary
#5C3ED6 #D6A83E #6CD63E
monochromatic
#2F1B7F #4126B1 #5C3ED6 #8770E1 #B1A3EB

Accessibility & contrast

On white

6.74
#5C3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5C3ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ED6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ED6#FFFFFF#000000##FFFFFF
##5C3ED61.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DA
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#1A6786
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3ed6;
/* rgb */ color: rgb(92, 62, 214);
/* oklch */ color: oklch(49.6% 0.218 284.1);
Tailwind
colors: {
  custom: {
    50: '#9776e4',
    500: '#5c3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ed6;
$custom-light: #9776e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ed6",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 251.842,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49566,
    "c": 0.21839,
    "h": 284.1
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#5C3ED6
secondary
#CBD898
accent
#E840C7
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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