#5C3FC5#5C3FC5

#5C3FC5 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.197 H 286.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5C3FC5
RGBrgb(92, 63, 197)
HSLhsl(253, 54%, 51%)
HSVhsv(253, 68%, 77%)
CMYKcmyk(53.3%, 68%, 0%, 22.7%)
CIE-LABlab(37.59, 46.60, -65.77)
CIE-LCHlch(37.59, 80.61, 305.32°)
OKLaboklab(48.22% 0.0555 -0.189)
OKLCHoklch(48.22% 0.197 286.4)
XYZxyz(16.2662, 9.8607, 53.8587)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FC5 #A8C53F
analogous
#3F65C5 #5C3FC5 #9F3FC5
triadic
#5C3FC5 #C55C3F #3FC55C
tetradic
#5C3FC5 #C53F65 #A8C53F #3FC59F
square
#5C3FC5 #C53F65 #A8C53F #3FC59F
split-complementary
#5C3FC5 #C59F3F #65C53F
monochromatic
#30206A #452E99 #5C3FC5 #846ED3 #AC9DE1

Accessibility & contrast

On white

7.06
#5C3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5C3FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3FC5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FC5#FFFFFF#000000##FFFFFF
##5C3FC51.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#31617D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3fc5;
/* rgb */ color: rgb(92, 63, 197);
/* oklch */ color: oklch(48.2% 0.197 286.4);
Tailwind
colors: {
  custom: {
    50: '#9476d8',
    500: '#5c3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fc5;
$custom-light: #9476d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fc5",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 252.985,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.19696,
    "h": 286.4
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#5C3FC5
secondary
#C1CE92
accent
#DD4BBD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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