#5D3CED#5D3CED

#5D3CED is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.247 H 281.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5D3CED
RGBrgb(93, 60, 237)
HSLhsl(251, 83%, 58%)
HSVhsv(251, 75%, 93%)
CMYKcmyk(60.8%, 74.7%, 0%, 7.1%)
CIE-LABlab(40.69, 59.88, -83.65)
CIE-LCHlch(40.69, 102.87, 305.60°)
OKLaboklab(51.52% 0.051 -0.2413)
OKLCHoklch(51.52% 0.247 281.9)
XYZxyz(21.4113, 11.6718, 81.2289)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CED #CCED3C
analogous
#3C74ED #5D3CED #B53CED
triadic
#5D3CED #ED5D3C #3CED5D
tetradic
#5D3CED #ED3C74 #CCED3C #3CEDB5
square
#5D3CED #ED3C74 #CCED3C #3CEDB5
split-complementary
#5D3CED #EDB53C #74ED3C
monochromatic
#2A0FA0 #3814D8 #5D3CED #8C74F2 #BAACF7

Accessibility & contrast

On white

6.30
#5D3CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5D3CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3CED
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CED#FFFFFF#000000##FFFFFF
##5D3CED1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F2
Deuteranopia (green-blind)
#005AEA
Tritanopia (blue-blind)
#006F92
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d3ced;
/* rgb */ color: rgb(93, 60, 237);
/* oklch */ color: oklch(51.5% 0.247 281.9);
Tailwind
colors: {
  custom: {
    50: '#9b76f4',
    500: '#5d3ced',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ced;
$custom-light: #9b76f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ced",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 237
  },
  "hsl": {
    "h": 251.186,
    "s": 83.099,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.24658,
    "h": 281.9
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#5D3CED
secondary
#D9E69F
accent
#F92ED4
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5D3CED

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

Preview Lab → · Contrast checker → · Palette generator →

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