#5D3FCD#5D3FCD

#5D3FCD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.0% C 0.207 H 285.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5D3FCD
RGBrgb(93, 63, 205)
HSLhsl(253, 59%, 53%)
HSVhsv(253, 69%, 80%)
CMYKcmyk(54.6%, 69.3%, 0%, 19.6%)
CIE-LABlab(38.36, 49.11, -69.17)
CIE-LCHlch(38.36, 84.83, 305.37°)
OKLaboklab(48.99% 0.0556 -0.1989)
OKLCHoklch(48.99% 0.207 285.6)
XYZxyz(17.3078, 10.2890, 58.8197)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FCD #AFCD3F
analogous
#3F68CD #5D3FCD #A43FCD
triadic
#5D3FCD #CD5D3F #3FCD5D
tetradic
#5D3FCD #CD3F68 #AFCD3F #3FCDA4
square
#5D3FCD #CD3F68 #AFCD3F #3FCDA4
split-complementary
#5D3FCD #CDA43F #68CD3F
monochromatic
#301E74 #442BA4 #5D3FCD #8670DA #AFA0E6

Accessibility & contrast

On white

6.87
#5D3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5D3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FCD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FCD#FFFFFF#000000##FFFFFF
##5D3FCD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#2B6481
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3fcd;
/* rgb */ color: rgb(93, 63, 205);
/* oklch */ color: oklch(49.0% 0.207 285.6);
Tailwind
colors: {
  custom: {
    50: '#9677dd',
    500: '#5d3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fcd;
$custom-light: #9677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fcd",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 252.676,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.20652,
    "h": 285.6
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#5D3FCD
secondary
#C6D395
accent
#E246C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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