#5C3ECA#5C3ECA

#5C3ECA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.5% C 0.204 H 285.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5C3ECA
RGBrgb(92, 62, 202)
HSLhsl(253, 57%, 52%)
HSVhsv(253, 69%, 79%)
CMYKcmyk(54.5%, 69.3%, 0%, 20.8%)
CIE-LABlab(37.81, 48.61, -68.32)
CIE-LCHlch(37.81, 83.85, 305.43°)
OKLaboklab(48.51% 0.0556 -0.1964)
OKLCHoklch(48.51% 0.204 285.8)
XYZxyz(16.7937, 9.9839, 56.9078)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ECA #ACCA3E
analogous
#3E66CA #5C3ECA #A23ECA
triadic
#5C3ECA #CA5C3E #3ECA5C
tetradic
#5C3ECA #CA3E66 #ACCA3E #3ECAA2
square
#5C3ECA #CA3E66 #ACCA3E #3ECAA2
split-complementary
#5C3ECA #CAA23E #66CA3E
monochromatic
#301F6F #442C9F #5C3ECA #856ED7 #AD9EE4

Accessibility & contrast

On white

7.01
#5C3ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5C3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ECA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ECA#FFFFFF#000000##FFFFFF
##5C3ECA1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#2C637F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3eca;
/* rgb */ color: rgb(92, 62, 202);
/* oklch */ color: oklch(48.5% 0.204 285.8);
Tailwind
colors: {
  custom: {
    50: '#9576db',
    500: '#5c3eca',
    950: '#000000',
  },
}
SCSS
$custom: #5c3eca;
$custom-light: #9576db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3eca",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 252.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.20415,
    "h": 285.8
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#5C3ECA
secondary
#C3D193
accent
#E048BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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