#5D3BCE#5D3BCE

#5D3BCE is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.212 H 286.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5D3BCE
RGBrgb(93, 59, 206)
HSLhsl(254, 60%, 52%)
HSVhsv(254, 71%, 81%)
CMYKcmyk(54.9%, 71.4%, 0%, 19.2%)
CIE-LABlab(37.68, 51.51, -70.85)
CIE-LCHlch(37.68, 87.60, 306.02°)
OKLaboklab(48.54% 0.0587 -0.2038)
OKLCHoklch(48.54% 0.212 286.1)
XYZxyz(17.2154, 9.9104, 59.3863)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BCE #ACCE3B
analogous
#3B62CE #5D3BCE #A73BCE
triadic
#5D3BCE #CE5D3B #3BCE5D
tetradic
#5D3BCE #CE3B62 #ACCE3B #3BCEA7
square
#5D3BCE #CE3B62 #ACCE3B #3BCEA7
split-complementary
#5D3BCE #CEA73B #62CE3B
monochromatic
#301D72 #4529A3 #5D3BCE #856CDA #AE9DE6

Accessibility & contrast

On white

7.04
#5D3BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5D3BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BCE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BCE#FFFFFF#000000##FFFFFF
##5D3BCE1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#2B6281
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d3bce;
/* rgb */ color: rgb(93, 59, 206);
/* oklch */ color: oklch(48.5% 0.212 286.1);
Tailwind
colors: {
  custom: {
    50: '#9674de',
    500: '#5d3bce',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bce;
$custom-light: #9674de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bce",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 253.878,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.21211,
    "h": 286.1
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#5D3BCE
secondary
#C4D392
accent
#E345BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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