#5C3CED#5C3CED

#5C3CED is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.247 H 281.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5C3CED
RGBrgb(92, 60, 237)
HSLhsl(251, 83%, 58%)
HSVhsv(251, 75%, 93%)
CMYKcmyk(61.2%, 74.7%, 0%, 7.1%)
CIE-LABlab(40.61, 59.77, -83.79)
CIE-LCHlch(40.61, 102.92, 305.50°)
OKLaboklab(51.44% 0.0496 -0.2417)
OKLCHoklch(51.44% 0.247 281.6)
XYZxyz(21.3108, 11.6199, 81.2242)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CED #CDED3C
analogous
#3C75ED #5C3CED #B43CED
triadic
#5C3CED #ED5C3C #3CED5C
tetradic
#5C3CED #ED3C75 #CDED3C #3CEDB4
square
#5C3CED #ED3C75 #CDED3C #3CEDB4
split-complementary
#5C3CED #EDB43C #75ED3C
monochromatic
#290FA0 #3714D8 #5C3CED #8B74F2 #BAACF7

Accessibility & contrast

On white

6.32
#5C3CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5C3CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3CED
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CED#FFFFFF#000000##FFFFFF
##5C3CED1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F2
Deuteranopia (green-blind)
#0059EA
Tritanopia (blue-blind)
#006F92
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c3ced;
/* rgb */ color: rgb(92, 60, 237);
/* oklch */ color: oklch(51.4% 0.247 281.6);
Tailwind
colors: {
  custom: {
    50: '#9b76f4',
    500: '#5c3ced',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ced;
$custom-light: #9b76f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ced",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 237
  },
  "hsl": {
    "h": 250.847,
    "s": 83.099,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.24673,
    "h": 281.6
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#5C3CED
secondary
#D9E69F
accent
#F92ED5
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5C3CED

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

Preview Lab → · Contrast checker → · Palette generator →

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