#5C3FC8#5C3FC8

#5C3FC8 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.5% C 0.201 H 285.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5C3FC8
RGBrgb(92, 63, 200)
HSLhsl(253, 55%, 52%)
HSVhsv(253, 69%, 78%)
CMYKcmyk(54%, 68.5%, 0%, 21.6%)
CIE-LABlab(37.84, 47.48, -67.11)
CIE-LCHlch(37.84, 82.21, 305.28°)
OKLaboklab(48.47% 0.055 -0.1929)
OKLCHoklch(48.47% 0.201 285.9)
XYZxyz(16.6133, 9.9996, 55.6871)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FC8 #ABC83F
analogous
#3F67C8 #5C3FC8 #A13FC8
triadic
#5C3FC8 #C85C3F #3FC85C
tetradic
#5C3FC8 #C83F67 #ABC83F #3FC8A1
square
#5C3FC8 #C83F67 #ABC83F #3FC8A1
split-complementary
#5C3FC8 #C8A13F #67C83F
monochromatic
#301F6D #452D9D #5C3FC8 #846FD6 #AD9EE3

Accessibility & contrast

On white

7.00
#5C3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5C3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FC8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FC8#FFFFFF#000000##FFFFFF
##5C3FC81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#2E627E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3fc8;
/* rgb */ color: rgb(92, 63, 200);
/* oklch */ color: oklch(48.5% 0.201 285.9);
Tailwind
colors: {
  custom: {
    50: '#9476da',
    500: '#5c3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fc8;
$custom-light: #9476da;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fc8",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 252.701,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.2006,
    "h": 285.9
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#5C3FC8
secondary
#C3D093
accent
#DF49BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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