#5D3ED3#5D3ED3

#5D3ED3 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.215 H 284.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5D3ED3
RGBrgb(93, 62, 211)
HSLhsl(252, 63%, 54%)
HSVhsv(252, 71%, 83%)
CMYKcmyk(55.9%, 70.6%, 0%, 17.3%)
CIE-LABlab(38.68, 51.39, -72.10)
CIE-LCHlch(38.68, 88.54, 305.48°)
OKLaboklab(49.38% 0.0553 -0.2075)
OKLCHoklch(49.38% 0.215 284.9)
XYZxyz(17.9911, 10.4745, 62.6891)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ED3 #B4D33E
analogous
#3E69D3 #5D3ED3 #A73ED3
triadic
#5D3ED3 #D35D3E #3ED35D
tetradic
#5D3ED3 #D33E69 #B4D33E #3ED3A7
square
#5D3ED3 #D33E69 #B4D33E #3ED3A7
split-complementary
#5D3ED3 #D3A73E #69D33E
monochromatic
#301C7B #4327AC #5D3ED3 #8770DE #B1A2EA

Accessibility & contrast

On white

6.78
#5D3ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5D3ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3ED3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ED3#FFFFFF#000000##FFFFFF
##5D3ED31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#246684
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d3ed3;
/* rgb */ color: rgb(93, 62, 211);
/* oklch */ color: oklch(49.4% 0.215 284.9);
Tailwind
colors: {
  custom: {
    50: '#9776e2',
    500: '#5d3ed3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ed3;
$custom-light: #9776e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ed3",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 252.483,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.21475,
    "h": 284.9
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#5D3ED3
secondary
#C9D696
accent
#E642C4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0915
muted
#7E7B84

Preview Lab

Preview with #5D3ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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