#5C3ACB#5C3ACB

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

Color values

HEX#5C3ACB
RGBrgb(92, 58, 203)
HSLhsl(254, 58%, 51%)
HSVhsv(254, 71%, 80%)
CMYKcmyk(54.7%, 71.4%, 0%, 20.4%)
CIE-LABlab(37.14, 51.02, -70.01)
CIE-LCHlch(37.14, 86.63, 306.08°)
OKLaboklab(48.05% 0.0587 -0.2014)
OKLCHoklch(48.05% 0.21 286.3)
XYZxyz(16.7030, 9.6123, 57.4636)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ACB #A9CB3A
analogous
#3A60CB #5C3ACB #A43ACB
triadic
#5C3ACB #CB5C3A #3ACB5C
tetradic
#5C3ACB #CB3A60 #A9CB3A #3ACBA4
square
#5C3ACB #CB3A60 #A9CB3A #3ACBA4
split-complementary
#5C3ACB #CBA43A #60CB3A
monochromatic
#301D6E #452A9E #5C3ACB #846AD8 #AC9BE5

Accessibility & contrast

On white

7.19
#5C3ACB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5C3ACB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ACB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ACB#FFFFFF#000000##FFFFFF
##5C3ACB1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#2B617F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3acb;
/* rgb */ color: rgb(92, 58, 203);
/* oklch */ color: oklch(48.0% 0.210 286.3);
Tailwind
colors: {
  custom: {
    50: '#9573dc',
    500: '#5c3acb',
    950: '#000000',
  },
}
SCSS
$custom: #5c3acb;
$custom-light: #9573dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3acb",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 254.069,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4805,
    "c": 0.20976,
    "h": 286.3
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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