#5C3CC3#5C3CC3

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

Color values

HEX#5C3CC3
RGBrgb(92, 60, 195)
HSLhsl(254, 53%, 50%)
HSVhsv(254, 69%, 76%)
CMYKcmyk(52.8%, 69.2%, 0%, 23.5%)
CIE-LABlab(36.83, 47.65, -65.85)
CIE-LCHlch(36.83, 81.28, 305.89°)
OKLaboklab(47.62% 0.0585 -0.1892)
OKLCHoklch(47.62% 0.198 287.2)
XYZxyz(15.8769, 9.4464, 52.6059)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CC3 #A3C33C
analogous
#3C60C3 #5C3CC3 #9F3CC3
triadic
#5C3CC3 #C35C3C #3CC35C
tetradic
#5C3CC3 #C33C60 #A3C33C #3CC39F
square
#5C3CC3 #C33C60 #A3C33C #3CC39F
split-complementary
#5C3CC3 #C39F3C #60C33C
monochromatic
#301F65 #462E94 #5C3CC3 #836BD1 #AA9AE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C3CC3#FFFFFF#000000##FFFFFF
##5C3CC31.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)
#005AC7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#335F7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3cc3;
/* rgb */ color: rgb(92, 60, 195);
/* oklch */ color: oklch(47.6% 0.198 287.2);
Tailwind
colors: {
  custom: {
    50: '#9474d6',
    500: '#5c3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cc3;
$custom-light: #9474d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cc3",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 254.222,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.19804,
    "h": 287.2
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#5C3CC3
secondary
#BDCC8F
accent
#DC4BBA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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