#5C3FD7#5C3FD7

#5C3FD7 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.218 H 283.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5C3FD7
RGBrgb(92, 63, 215)
HSLhsl(251, 66%, 55%)
HSVhsv(251, 71%, 84%)
CMYKcmyk(57.2%, 70.7%, 0%, 15.7%)
CIE-LABlab(39.13, 51.89, -73.67)
CIE-LCHlch(39.13, 90.11, 305.16°)
OKLaboklab(49.79% 0.0524 -0.2121)
OKLCHoklch(49.79% 0.219 283.9)
XYZxyz(18.4531, 10.7355, 65.3766)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FD7 #BAD73F
analogous
#3F6ED7 #5C3FD7 #A83FD7
triadic
#5C3FD7 #D75C3F #3FD75C
tetradic
#5C3FD7 #D73F6E #BAD73F #3FD7A8
square
#5C3FD7 #D73F6E #BAD73F #3FD7A8
split-complementary
#5C3FD7 #D7A83F #6ED73F
monochromatic
#2E1B81 #4025B3 #5C3FD7 #8772E2 #B2A4EC

Accessibility & contrast

On white

6.67
#5C3FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5C3FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FD7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FD7#FFFFFF#000000##FFFFFF
##5C3FD71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DC
Deuteranopia (green-blind)
#0057D4
Tritanopia (blue-blind)
#186887
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c3fd7;
/* rgb */ color: rgb(92, 63, 215);
/* oklch */ color: oklch(49.8% 0.218 283.9);
Tailwind
colors: {
  custom: {
    50: '#9777e5',
    500: '#5c3fd7',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fd7;
$custom-light: #9777e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fd7",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 251.447,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.2185,
    "h": 283.9
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#5C3FD7
secondary
#CDD999
accent
#E83FC8
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5C3FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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