#5D39CE#5D39CE

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

Color values

HEX#5D39CE
RGBrgb(93, 57, 206)
HSLhsl(254, 60%, 52%)
HSVhsv(254, 72%, 81%)
CMYKcmyk(54.9%, 72.3%, 0%, 19.2%)
CIE-LABlab(37.31, 52.54, -71.46)
CIE-LCHlch(37.31, 88.69, 306.33°)
OKLaboklab(48.28% 0.0603 -0.2056)
OKLCHoklch(48.28% 0.214 286.3)
XYZxyz(17.1146, 9.7087, 59.3527)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D39CE #AACE39
analogous
#3960CE #5D39CE #A839CE
triadic
#5D39CE #CE5D39 #39CE5D
tetradic
#5D39CE #CE3960 #AACE39 #39CEA8
square
#5D39CE #CE3960 #AACE39 #39CEA8
split-complementary
#5D39CE #CEA839 #60CE39
monochromatic
#301C71 #4528A2 #5D39CE #856ADA #AD9BE6

Accessibility & contrast

On white

7.14
#5D39CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5D39CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D39CE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D39CE#FFFFFF#000000##FFFFFF
##5D39CE1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#2B6180
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d39ce;
/* rgb */ color: rgb(93, 57, 206);
/* oklch */ color: oklch(48.3% 0.214 286.3);
Tailwind
colors: {
  custom: {
    50: '#9673de',
    500: '#5d39ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d39ce;
$custom-light: #9673de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d39ce",
  "rgb": {
    "r": 93,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 254.497,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.21424,
    "h": 286.3
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#5D39CE
secondary
#C2D291
accent
#E344BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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