#5C3CCE#5C3CCE

#5C3CCE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.6% C 0.211 H 285.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5C3CCE
RGBrgb(92, 60, 206)
HSLhsl(253, 60%, 52%)
HSVhsv(253, 71%, 81%)
CMYKcmyk(55.3%, 70.9%, 0%, 19.2%)
CIE-LABlab(37.77, 50.84, -70.70)
CIE-LCHlch(37.77, 87.09, 305.72°)
OKLaboklab(48.58% 0.0565 -0.2034)
OKLCHoklch(48.58% 0.211 285.5)
XYZxyz(17.1667, 9.9623, 59.3989)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CCE #AECE3C
analogous
#3C65CE #5C3CCE #A53CCE
triadic
#5C3CCE #CE5C3C #3CCE5C
tetradic
#5C3CCE #CE3C65 #AECE3C #3CCEA5
square
#5C3CCE #CE3C65 #AECE3C #3CCEA5
split-complementary
#5C3CCE #CEA53C #65CE3C
monochromatic
#301D73 #4429A4 #5C3CCE #856DDA #AE9EE7

Accessibility & contrast

On white

7.02
#5C3CCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5C3CCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CCE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CCE#FFFFFF#000000##FFFFFF
##5C3CCE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#276381
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3cce;
/* rgb */ color: rgb(92, 60, 206);
/* oklch */ color: oklch(48.6% 0.211 285.5);
Tailwind
colors: {
  custom: {
    50: '#9575de',
    500: '#5c3cce',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cce;
$custom-light: #9575de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cce",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 253.151,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.21112,
    "h": 285.5
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#5C3CCE
secondary
#C5D393
accent
#E345C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C3CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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