#5C3ACA#5C3ACA

#5C3ACA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.0% C 0.209 H 286.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5C3ACA
RGBrgb(92, 58, 202)
HSLhsl(254, 58%, 51%)
HSVhsv(254, 71%, 79%)
CMYKcmyk(54.5%, 71.3%, 0%, 20.8%)
CIE-LABlab(37.05, 50.73, -69.57)
CIE-LCHlch(37.05, 86.11, 306.10°)
OKLaboklab(47.96% 0.0589 -0.2001)
OKLCHoklch(47.96% 0.209 286.4)
XYZxyz(16.5842, 9.5648, 56.8380)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ACA #A8CA3A
analogous
#3A60CA #5C3ACA #A43ACA
triadic
#5C3ACA #CA5C3A #3ACA5C
tetradic
#5C3ACA #CA3A60 #A8CA3A #3ACAA4
square
#5C3ACA #CA3A60 #A8CA3A #3ACAA4
split-complementary
#5C3ACA #CAA43A #60CA3A
monochromatic
#301D6C #452A9D #5C3ACA #846AD7 #AC9AE4

Accessibility & contrast

On white

7.21
#5C3ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5C3ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ACA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ACA#FFFFFF#000000##FFFFFF
##5C3ACA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#2C607E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3aca;
/* rgb */ color: rgb(92, 58, 202);
/* oklch */ color: oklch(48.0% 0.209 286.4);
Tailwind
colors: {
  custom: {
    50: '#9573db',
    500: '#5c3aca',
    950: '#000000',
  },
}
SCSS
$custom: #5c3aca;
$custom-light: #9573db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3aca",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 254.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47961,
    "c": 0.20859,
    "h": 286.4
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#5C3ACA
secondary
#C1D090
accent
#E147BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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