#5C3FBC#5C3FBC

#5C3FBC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.186 H 287.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5C3FBC
RGBrgb(92, 63, 188)
HSLhsl(254, 50%, 49%)
HSVhsv(254, 66%, 74%)
CMYKcmyk(51.1%, 66.5%, 0%, 26.3%)
CIE-LABlab(36.86, 43.96, -61.70)
CIE-LCHlch(36.86, 75.76, 305.47°)
OKLaboklab(47.46% 0.0568 -0.177)
OKLCHoklch(47.46% 0.186 287.8)
XYZxyz(15.2656, 9.4605, 48.5889)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FBC #9FBC3F
analogous
#3F61BC #5C3FBC #9B3FBC
triadic
#5C3FBC #BC5C3F #3FBC5C
tetradic
#5C3FBC #BC3F61 #9FBC3F #3FBC9B
square
#5C3FBC #BC3F61 #9FBC3F #3FBC9B
split-complementary
#5C3FBC #BC9B3F #61BC3F
monochromatic
#2F2060 #46308E #5C3FBC #826BCD #A899DD

Accessibility & contrast

On white

7.26
#5C3FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C3FBC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FBC#FFFFFF#000000##FFFFFF
##5C3FBC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#395E78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3fbc;
/* rgb */ color: rgb(92, 63, 188);
/* oklch */ color: oklch(47.5% 0.186 287.8);
Tailwind
colors: {
  custom: {
    50: '#9376d1',
    500: '#5c3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fbc;
$custom-light: #9376d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fbc",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 253.92,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.18592,
    "h": 287.8
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#5C3FBC
secondary
#BBC98E
accent
#D94EB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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