#5C3ACC#5C3ACC

#5C3ACC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.1% C 0.211 H 286.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5C3ACC
RGBrgb(92, 58, 204)
HSLhsl(254, 59%, 51%)
HSVhsv(254, 72%, 80%)
CMYKcmyk(54.9%, 71.6%, 0%, 20%)
CIE-LABlab(37.23, 51.31, -70.44)
CIE-LCHlch(37.23, 87.15, 306.07°)
OKLaboklab(48.14% 0.0585 -0.2027)
OKLCHoklch(48.14% 0.211 286.1)
XYZxyz(16.8225, 9.6601, 58.0932)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ACC #AACC3A
analogous
#3A61CC #5C3ACC #A53ACC
triadic
#5C3ACC #CC5C3A #3ACC5C
tetradic
#5C3ACC #CC3A61 #AACC3A #3ACCA5
square
#5C3ACC #CC3A61 #AACC3A #3ACCA5
split-complementary
#5C3ACC #CCA53A #61CC3A
monochromatic
#301D6F #4529A0 #5C3ACC #846BD9 #AC9BE5

Accessibility & contrast

On white

7.16
#5C3ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5C3ACC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ACC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ACC#FFFFFF#000000##FFFFFF
##5C3ACC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#2A617F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3acc;
/* rgb */ color: rgb(92, 58, 204);
/* oklch */ color: oklch(48.1% 0.211 286.1);
Tailwind
colors: {
  custom: {
    50: '#9573dd',
    500: '#5c3acc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3acc;
$custom-light: #9573dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3acc",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 253.973,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.21093,
    "h": 286.1
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#5C3ACC
secondary
#C2D191
accent
#E246BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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