#5D3FD7#5D3FD7

#5D3FD7 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.218 H 284.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5D3FD7
RGBrgb(93, 63, 215)
HSLhsl(252, 66%, 55%)
HSVhsv(252, 71%, 84%)
CMYKcmyk(56.7%, 70.7%, 0%, 15.7%)
CIE-LABlab(39.22, 52.03, -73.52)
CIE-LCHlch(39.22, 90.07, 305.29°)
OKLaboklab(49.88% 0.0537 -0.2117)
OKLCHoklch(49.88% 0.218 284.2)
XYZxyz(18.5537, 10.7873, 65.3813)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FD7 #B9D73F
analogous
#3F6DD7 #5D3FD7 #A93FD7
triadic
#5D3FD7 #D75D3F #3FD75D
tetradic
#5D3FD7 #D73F6D #B9D73F #3FD7A9
square
#5D3FD7 #D73F6D #B9D73F #3FD7A9
split-complementary
#5D3FD7 #D7A93F #6DD73F
monochromatic
#2F1B81 #4125B3 #5D3FD7 #8872E2 #B2A4EC

Accessibility & contrast

On white

6.65
#5D3FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5D3FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FD7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FD7#FFFFFF#000000##FFFFFF
##5D3FD71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DC
Deuteranopia (green-blind)
#0057D4
Tritanopia (blue-blind)
#1D6887
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d3fd7;
/* rgb */ color: rgb(93, 63, 215);
/* oklch */ color: oklch(49.9% 0.218 284.2);
Tailwind
colors: {
  custom: {
    50: '#9777e5',
    500: '#5d3fd7',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fd7;
$custom-light: #9777e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fd7",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 251.842,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.21838,
    "h": 284.2
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#5D3FD7
secondary
#CCD999
accent
#E83FC7
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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