#5C3FD8#5C3FD8

#5C3FD8 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.220 H 283.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5C3FD8
RGBrgb(92, 63, 216)
HSLhsl(251, 66%, 55%)
HSVhsv(251, 71%, 85%)
CMYKcmyk(57.4%, 70.8%, 0%, 15.3%)
CIE-LABlab(39.22, 52.18, -74.10)
CIE-LCHlch(39.22, 90.63, 305.15°)
OKLaboklab(49.88% 0.0522 -0.2134)
OKLCHoklch(49.88% 0.22 283.7)
XYZxyz(18.5820, 10.7870, 66.0554)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FD8 #BBD83F
analogous
#3F6ED8 #5C3FD8 #A93FD8
triadic
#5C3FD8 #D85C3F #3FD85C
tetradic
#5C3FD8 #D83F6E #BBD83F #3FD8A9
square
#5C3FD8 #D83F6E #BBD83F #3FD8A9
split-complementary
#5C3FD8 #D8A93F #6ED83F
monochromatic
#2E1A82 #4025B5 #5C3FD8 #8772E2 #B2A5ED

Accessibility & contrast

On white

6.65
#5C3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5C3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FD8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FD8#FFFFFF#000000##FFFFFF
##5C3FD81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#0057D5
Tritanopia (blue-blind)
#166887
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c3fd8;
/* rgb */ color: rgb(92, 63, 216);
/* oklch */ color: oklch(49.9% 0.220 283.7);
Tailwind
colors: {
  custom: {
    50: '#9777e5',
    500: '#5c3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fd8;
$custom-light: #9777e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fd8",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 251.373,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.21968,
    "h": 283.7
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#5C3FD8
secondary
#CDDA99
accent
#E93FC9
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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