#5C3EBE#5C3EBE

#5C3EBE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.190 H 287.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5C3EBE
RGBrgb(92, 62, 190)
HSLhsl(254, 51%, 49%)
HSVhsv(254, 67%, 75%)
CMYKcmyk(51.6%, 67.4%, 0%, 25.5%)
CIE-LABlab(36.81, 45.10, -62.95)
CIE-LCHlch(36.81, 77.44, 305.62°)
OKLaboklab(47.48% 0.0575 -0.1807)
OKLCHoklch(47.48% 0.19 287.7)
XYZxyz(15.4278, 9.4375, 49.7139)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EBE #A0BE3E
analogous
#3E60BE #5C3EBE #9C3EBE
triadic
#5C3EBE #BE5C3E #3EBE5C
tetradic
#5C3EBE #BE3E60 #A0BE3E #3EBE9C
square
#5C3EBE #BE3E60 #A0BE3E #3EBE9C
split-complementary
#5C3EBE #BE9C3E #60BE3E
monochromatic
#2F2062 #462F90 #5C3EBE #826BCF #A999DE

Accessibility & contrast

On white

7.27
#5C3EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5C3EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3EBE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3EBE#FFFFFF#000000##FFFFFF
##5C3EBE1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#375E79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3ebe;
/* rgb */ color: rgb(92, 62, 190);
/* oklch */ color: oklch(47.5% 0.190 287.7);
Tailwind
colors: {
  custom: {
    50: '#9375d3',
    500: '#5c3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ebe;
$custom-light: #9375d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ebe",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 254.063,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47479,
    "c": 0.18961,
    "h": 287.7
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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