#5D3BEE#5D3BEE

#5D3BEE is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.249 H 281.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5D3BEE
RGBrgb(93, 59, 238)
HSLhsl(251, 84%, 58%)
HSVhsv(251, 75%, 93%)
CMYKcmyk(60.9%, 75.2%, 0%, 6.7%)
CIE-LABlab(40.62, 60.64, -84.34)
CIE-LCHlch(40.62, 103.88, 305.72°)
OKLaboklab(51.5% 0.0513 -0.2433)
OKLCHoklch(51.5% 0.249 281.9)
XYZxyz(21.5060, 11.6266, 81.9832)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BEE #CCEE3B
analogous
#3B72EE #5D3BEE #B73BEE
triadic
#5D3BEE #EE5D3B #3BEE5D
tetradic
#5D3BEE #EE3B72 #CCEE3B #3BEEB7
square
#5D3BEE #EE3B72 #CCEE3B #3BEEB7
split-complementary
#5D3BEE #EEB73B #72EE3B
monochromatic
#2A0EA1 #3813D9 #5D3BEE #8C73F3 #BAACF8

Accessibility & contrast

On white

6.31
#5D3BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5D3BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3BEE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BEE#FFFFFF#000000##FFFFFF
##5D3BEE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F3
Deuteranopia (green-blind)
#0059EB
Tritanopia (blue-blind)
#006F93
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d3bee;
/* rgb */ color: rgb(93, 59, 238);
/* oklch */ color: oklch(51.5% 0.249 281.9);
Tailwind
colors: {
  custom: {
    50: '#9b75f5',
    500: '#5d3bee',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bee;
$custom-light: #9b75f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bee",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 238
  },
  "hsl": {
    "h": 251.397,
    "s": 84.038,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51499,
    "c": 0.24862,
    "h": 281.9
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#5D3BEE
secondary
#D9E69F
accent
#FA2DD3
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5D3BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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