#5C2CC2#5C2CC2

#5C2CC2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.214 H 289.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5C2CC2
RGBrgb(92, 44, 194)
HSLhsl(259, 63%, 47%)
HSVhsv(259, 77%, 76%)
CMYKcmyk(52.6%, 77.3%, 0%, 23.9%)
CIE-LABlab(33.92, 55.31, -70.03)
CIE-LCHlch(33.92, 89.24, 308.30°)
OKLaboklab(45.54% 0.0717 -0.2013)
OKLCHoklch(45.54% 0.214 289.6)
XYZxyz(15.0491, 7.9710, 51.7741)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2CC2 #92C22C
analogous
#2C47C2 #5C2CC2 #A72CC2
triadic
#5C2CC2 #C25C2C #2CC25C
tetradic
#5C2CC2 #C22C47 #92C22C #2CC2A7
square
#5C2CC2 #C22C47 #92C22C #2CC2A7
split-complementary
#5C2CC2 #C2A72C #47C22C
monochromatic
#2D155E #442190 #5C2CC2 #7E53D8 #A385E3

Accessibility & contrast

On white

8.09
#5C2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5C2CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2CC2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2CC2#FFFFFF#000000##FFFFFF
##5C2CC21.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#355776
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c2cc2;
/* rgb */ color: rgb(92, 44, 194);
/* oklch */ color: oklch(45.5% 0.214 289.6);
Tailwind
colors: {
  custom: {
    50: '#956bd6',
    500: '#5c2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #5c2cc2;
$custom-light: #956bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2cc2",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 259.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45538,
    "c": 0.21373,
    "h": 289.6
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#5C2CC2
secondary
#B3CD7D
accent
#E642B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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