#5E3BD6#5E3BD6

#5E3BD6 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.221 H 285.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5E3BD6
RGBrgb(94, 59, 214)
HSLhsl(254, 65%, 54%)
HSVhsv(254, 72%, 84%)
CMYKcmyk(56.1%, 72.4%, 0%, 16.1%)
CIE-LABlab(38.48, 53.95, -74.15)
CIE-LCHlch(38.48, 91.70, 306.04°)
OKLaboklab(49.35% 0.0584 -0.2135)
OKLCHoklch(49.35% 0.221 285.3)
XYZxyz(18.3140, 10.3616, 64.6402)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BD6 #B3D63B
analogous
#3B65D6 #5E3BD6 #AB3BD6
triadic
#5E3BD6 #D65E3B #3BD65E
tetradic
#5E3BD6 #D63B65 #B3D63B #3BD6AB
square
#5E3BD6 #D63B65 #B3D63B #3BD6AB
split-complementary
#5E3BD6 #D6AB3B #65D63B
monochromatic
#301A7D #4425AF #5E3BD6 #886EE1 #B1A0EB

Accessibility & contrast

On white

6.83
#5E3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5E3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3BD6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BD6#FFFFFF#000000##FFFFFF
##5E3BD61.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDB
Deuteranopia (green-blind)
#0056D3
Tritanopia (blue-blind)
#236585
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e3bd6;
/* rgb */ color: rgb(94, 59, 214);
/* oklch */ color: oklch(49.3% 0.221 285.3);
Tailwind
colors: {
  custom: {
    50: '#9874e4',
    500: '#5e3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bd6;
$custom-light: #9874e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bd6",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 253.548,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.2213,
    "h": 285.3
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#5E3BD6
secondary
#C9D895
accent
#E83FC2
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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