#5D3FD3#5D3FD3

#5D3FD3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.5% C 0.214 H 284.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5D3FD3
RGBrgb(93, 63, 211)
HSLhsl(252, 63%, 54%)
HSVhsv(252, 70%, 83%)
CMYKcmyk(55.9%, 70.1%, 0%, 17.3%)
CIE-LABlab(38.87, 50.86, -71.79)
CIE-LCHlch(38.87, 87.98, 305.32°)
OKLaboklab(49.52% 0.0545 -0.2066)
OKLCHoklch(49.52% 0.214 284.8)
XYZxyz(18.0460, 10.5843, 62.7074)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FD3 #B5D33F
analogous
#3F6BD3 #5D3FD3 #A73FD3
triadic
#5D3FD3 #D35D3F #3FD35D
tetradic
#5D3FD3 #D33F6B #B5D33F #3FD3A7
square
#5D3FD3 #D33F6B #B5D33F #3FD3A7
split-complementary
#5D3FD3 #D3A73F #6BD33F
monochromatic
#301C7B #4328AD #5D3FD3 #8771DE #B1A3EA

Accessibility & contrast

On white

6.74
#5D3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5D3FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FD3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FD3#FFFFFF#000000##FFFFFF
##5D3FD31.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#236685
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d3fd3;
/* rgb */ color: rgb(93, 63, 211);
/* oklch */ color: oklch(49.5% 0.214 284.8);
Tailwind
colors: {
  custom: {
    50: '#9777e2',
    500: '#5d3fd3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fd3;
$custom-light: #9777e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fd3",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 252.162,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.21366,
    "h": 284.8
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#5D3FD3
secondary
#CAD797
accent
#E642C5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0915
muted
#7E7B84

Preview Lab

Preview with #5D3FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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