#5C3CCA#5C3CCA

#5C3CCA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.2% C 0.206 H 286.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5C3CCA
RGBrgb(92, 60, 202)
HSLhsl(254, 57%, 51%)
HSVhsv(254, 70%, 79%)
CMYKcmyk(54.5%, 70.3%, 0%, 20.8%)
CIE-LABlab(37.43, 49.68, -68.95)
CIE-LCHlch(37.43, 84.99, 305.77°)
OKLaboklab(48.23% 0.0573 -0.1983)
OKLCHoklch(48.23% 0.206 286.1)
XYZxyz(16.6870, 9.7704, 56.8723)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CCA #AACA3C
analogous
#3C63CA #5C3CCA #A33CCA
triadic
#5C3CCA #CA5C3C #3CCA5C
tetradic
#5C3CCA #CA3C63 #AACA3C #3CCAA3
square
#5C3CCA #CA3C63 #AACA3C #3CCAA3
split-complementary
#5C3CCA #CAA33C #63CA3C
monochromatic
#301E6E #452B9E #5C3CCA #846CD7 #AC9CE4

Accessibility & contrast

On white

7.11
#5C3CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5C3CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CCA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CCA#FFFFFF#000000##FFFFFF
##5C3CCA1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#2C627F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3cca;
/* rgb */ color: rgb(92, 60, 202);
/* oklch */ color: oklch(48.2% 0.206 286.1);
Tailwind
colors: {
  custom: {
    50: '#9574db',
    500: '#5c3cca',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cca;
$custom-light: #9574db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cca",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 253.521,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4823,
    "c": 0.20639,
    "h": 286.1
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#5C3CCA
secondary
#C2D092
accent
#E147BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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