#5C39CE#5C39CE

#5C39CE is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.214 H 285.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5C39CE
RGBrgb(92, 57, 206)
HSLhsl(254, 60%, 52%)
HSVhsv(254, 72%, 81%)
CMYKcmyk(55.3%, 72.3%, 0%, 19.2%)
CIE-LABlab(37.22, 52.40, -71.61)
CIE-LCHlch(37.22, 88.74, 306.19°)
OKLaboklab(48.19% 0.0589 -0.2061)
OKLCHoklch(48.19% 0.214 285.9)
XYZxyz(17.0140, 9.6568, 59.3480)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C39CE #ABCE39
analogous
#3961CE #5C39CE #A739CE
triadic
#5C39CE #CE5C39 #39CE5C
tetradic
#5C39CE #CE3961 #ABCE39 #39CEA7
square
#5C39CE #CE3961 #ABCE39 #39CEA7
split-complementary
#5C39CE #CEA739 #61CE39
monochromatic
#301C71 #4528A2 #5C39CE #846ADA #AD9BE6

Accessibility & contrast

On white

7.16
#5C39CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5C39CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C39CE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C39CE#FFFFFF#000000##FFFFFF
##5C39CE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#286180
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c39ce;
/* rgb */ color: rgb(92, 57, 206);
/* oklch */ color: oklch(48.2% 0.214 285.9);
Tailwind
colors: {
  custom: {
    50: '#9673de',
    500: '#5c39ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c39ce;
$custom-light: #9673de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c39ce",
  "rgb": {
    "r": 92,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 254.094,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.21432,
    "h": 285.9
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#5C39CE
secondary
#C3D291
accent
#E344BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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