#5D3FD6#5D3FD6

#5D3FD6 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.217 H 284.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5D3FD6
RGBrgb(93, 63, 214)
HSLhsl(252, 65%, 54%)
HSVhsv(252, 71%, 84%)
CMYKcmyk(56.5%, 70.6%, 0%, 16.1%)
CIE-LABlab(39.13, 51.74, -73.09)
CIE-LCHlch(39.13, 89.55, 305.29°)
OKLaboklab(49.79% 0.0539 -0.2104)
OKLCHoklch(49.79% 0.217 284.4)
XYZxyz(18.4256, 10.7361, 64.7066)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FD6 #B8D63F
analogous
#3F6CD6 #5D3FD6 #A93FD6
triadic
#5D3FD6 #D65D3F #3FD65D
tetradic
#5D3FD6 #D63F6C #B8D63F #3FD6A9
square
#5D3FD6 #D63F6C #B8D63F #3FD6A9
split-complementary
#5D3FD6 #D6A93F #6CD63F
monochromatic
#2F1B7F #4226B2 #5D3FD6 #8871E1 #B2A4EC

Accessibility & contrast

On white

6.67
#5D3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5D3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FD6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FD6#FFFFFF#000000##FFFFFF
##5D3FD61.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DA
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#1F6786
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d3fd6;
/* rgb */ color: rgb(93, 63, 214);
/* oklch */ color: oklch(49.8% 0.217 284.4);
Tailwind
colors: {
  custom: {
    50: '#9777e4',
    500: '#5d3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fd6;
$custom-light: #9777e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fd6",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 251.921,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.21721,
    "h": 284.4
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#5D3FD6
secondary
#CCD898
accent
#E840C6
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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