#5C3ECC#5C3ECC

#5C3ECC is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.207 H 285.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5C3ECC
RGBrgb(92, 62, 204)
HSLhsl(253, 58%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(54.9%, 69.6%, 0%, 20%)
CIE-LABlab(37.98, 49.20, -69.20)
CIE-LCHlch(37.98, 84.91, 305.41°)
OKLaboklab(48.68% 0.0552 -0.199)
OKLCHoklch(48.68% 0.207 285.5)
XYZxyz(17.0321, 10.0792, 58.1630)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ECC #AECC3E
analogous
#3E67CC #5C3ECC #A33ECC
triadic
#5C3ECC #CC5C3E #3ECC5C
tetradic
#5C3ECC #CC3E67 #AECC3E #3ECCA3
square
#5C3ECC #CC3E67 #AECC3E #3ECCA3
split-complementary
#5C3ECC #CCA33E #67CC3E
monochromatic
#301E72 #442BA2 #5C3ECC #856ED9 #AE9FE6

Accessibility & contrast

On white

6.96
#5C3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5C3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ECC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ECC#FFFFFF#000000##FFFFFF
##5C3ECC1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#2A6380
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3ecc;
/* rgb */ color: rgb(92, 62, 204);
/* oklch */ color: oklch(48.7% 0.207 285.5);
Tailwind
colors: {
  custom: {
    50: '#9576dd',
    500: '#5c3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ecc;
$custom-light: #9576dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ecc",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 252.676,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.20655,
    "h": 285.5
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#5C3ECC
secondary
#C5D294
accent
#E146C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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