#5D3ECE#5D3ECE

#5D3ECE is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.209 H 285.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5D3ECE
RGBrgb(93, 62, 206)
HSLhsl(253, 60%, 53%)
HSVhsv(253, 70%, 81%)
CMYKcmyk(54.9%, 69.9%, 0%, 19.2%)
CIE-LABlab(38.25, 49.94, -69.92)
CIE-LCHlch(38.25, 85.93, 305.53°)
OKLaboklab(48.94% 0.0562 -0.2011)
OKLCHoklch(48.94% 0.209 285.6)
XYZxyz(17.3740, 10.2277, 59.4392)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ECE #AFCE3E
analogous
#3E67CE #5D3ECE #A53ECE
triadic
#5D3ECE #CE5D3E #3ECE5D
tetradic
#5D3ECE #CE3E67 #AFCE3E #3ECEA5
square
#5D3ECE #CE3E67 #AFCE3E #3ECEA5
split-complementary
#5D3ECE #CEA53E #67CE3E
monochromatic
#301D74 #442AA5 #5D3ECE #866FDA #AFA0E7

Accessibility & contrast

On white

6.89
#5D3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5D3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3ECE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ECE#FFFFFF#000000##FFFFFF
##5D3ECE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#2A6482
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3ece;
/* rgb */ color: rgb(93, 62, 206);
/* oklch */ color: oklch(48.9% 0.209 285.6);
Tailwind
colors: {
  custom: {
    50: '#9676de',
    500: '#5d3ece',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ece;
$custom-light: #9676de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ece",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 252.917,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48943,
    "c": 0.20884,
    "h": 285.6
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#5D3ECE
secondary
#C6D395
accent
#E345C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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