#5D3DEE#5D3DEE

#5D3DEE is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.247 H 281.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5D3DEE
RGBrgb(93, 61, 238)
HSLhsl(251, 84%, 59%)
HSVhsv(251, 74%, 93%)
CMYKcmyk(60.9%, 74.4%, 0%, 6.7%)
CIE-LABlab(40.95, 59.68, -83.78)
CIE-LCHlch(40.95, 102.86, 305.46°)
OKLaboklab(51.74% 0.0501 -0.2416)
OKLCHoklch(51.74% 0.247 281.7)
XYZxyz(21.6107, 11.8361, 82.0181)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DEE #CEEE3D
analogous
#3D75EE #5D3DEE #B53DEE
triadic
#5D3DEE #EE5D3D #3DEE5D
tetradic
#5D3DEE #EE3D75 #CEEE3D #3DEEB5
square
#5D3DEE #EE3D75 #CEEE3D #3DEEB5
split-complementary
#5D3DEE #EEB53D #75EE3D
monochromatic
#290EA2 #3713DB #5D3DEE #8C75F3 #BBAEF8

Accessibility & contrast

On white

6.24
#5D3DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5D3DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3DEE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DEE#FFFFFF#000000##FFFFFF
##5D3DEE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F3
Deuteranopia (green-blind)
#005AEB
Tritanopia (blue-blind)
#007093
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d3dee;
/* rgb */ color: rgb(93, 61, 238);
/* oklch */ color: oklch(51.7% 0.247 281.7);
Tailwind
colors: {
  custom: {
    50: '#9b77f5',
    500: '#5d3dee',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dee;
$custom-light: #9b77f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dee",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 238
  },
  "hsl": {
    "h": 250.847,
    "s": 83.886,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51736,
    "c": 0.24679,
    "h": 281.7
  },
  "luminance": 0.11838
}

Semantic roles & 50–950 ramp

primary
#5D3DEE
secondary
#DAE6A0
accent
#FA2ED5
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5D3DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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