#5C3EBC#5C3EBC

#5C3EBC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.187 H 288.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5C3EBC
RGBrgb(92, 62, 188)
HSLhsl(254, 50%, 49%)
HSVhsv(254, 67%, 74%)
CMYKcmyk(51.1%, 67%, 0%, 26.3%)
CIE-LABlab(36.65, 44.52, -62.04)
CIE-LCHlch(36.65, 76.36, 305.66°)
OKLaboklab(47.31% 0.0578 -0.178)
OKLCHoklch(47.31% 0.187 288)
XYZxyz(15.2107, 9.3507, 48.5706)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EBC #9EBC3E
analogous
#3E5FBC #5C3EBC #9B3EBC
triadic
#5C3EBC #BC5C3E #3EBC5C
tetradic
#5C3EBC #BC3E5F #9EBC3E #3EBC9B
square
#5C3EBC #BC3E5F #9EBC3E #3EBC9B
split-complementary
#5C3EBC #BC9B3E #5FBC3E
monochromatic
#2F2060 #452F8E #5C3EBC #816ACE #A898DD

Accessibility & contrast

On white

7.32
#5C3EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C3EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3EBC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3EBC#FFFFFF#000000##FFFFFF
##5C3EBC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#395D78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c3ebc;
/* rgb */ color: rgb(92, 62, 188);
/* oklch */ color: oklch(47.3% 0.187 288.0);
Tailwind
colors: {
  custom: {
    50: '#9375d1',
    500: '#5c3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ebc;
$custom-light: #9375d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ebc",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 254.286,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.18716,
    "h": 288
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#5C3EBC
secondary
#BAC98D
accent
#DA4EB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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