#5C3FCA#5C3FCA

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

Color values

HEX#5C3FCA
RGBrgb(92, 63, 202)
HSLhsl(253, 57%, 52%)
HSVhsv(253, 69%, 79%)
CMYKcmyk(54.5%, 68.8%, 0%, 20.8%)
CIE-LABlab(38.01, 48.07, -68.00)
CIE-LCHlch(38.01, 83.27, 305.26°)
OKLaboklab(48.65% 0.0547 -0.1955)
OKLCHoklch(48.65% 0.203 285.6)
XYZxyz(16.8486, 10.0937, 56.9261)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FCA #ADCA3F
analogous
#3F68CA #5C3FCA #A23FCA
triadic
#5C3FCA #CA5C3F #3FCA5C
tetradic
#5C3FCA #CA3F68 #ADCA3F #3FCAA2
square
#5C3FCA #CA3F68 #ADCA3F #3FCAA2
split-complementary
#5C3FCA #CAA23F #68CA3F
monochromatic
#301F70 #442CA0 #5C3FCA #856FD7 #AD9FE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C3FCA#FFFFFF#000000##FFFFFF
##5C3FCA1.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)
#005DCE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#2C6380
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3fca;
/* rgb */ color: rgb(92, 63, 202);
/* oklch */ color: oklch(48.6% 0.203 285.6);
Tailwind
colors: {
  custom: {
    50: '#9576db',
    500: '#5c3fca',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fca;
$custom-light: #9576db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fca",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 252.518,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.20301,
    "h": 285.6
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#5C3FCA
secondary
#C4D194
accent
#E048C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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