#5E3CD2#5E3CD2

#5E3CD2 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.216 H 285.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5E3CD2
RGBrgb(94, 60, 210)
HSLhsl(254, 63%, 53%)
HSVhsv(254, 71%, 82%)
CMYKcmyk(55.2%, 71.4%, 0%, 17.6%)
CIE-LABlab(38.31, 52.29, -72.13)
CIE-LCHlch(38.31, 89.09, 305.94°)
OKLaboklab(49.12% 0.0585 -0.2075)
OKLCHoklch(49.12% 0.216 285.7)
XYZxyz(17.8613, 10.2635, 62.0002)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3CD2 #B0D23C
analogous
#3C65D2 #5E3CD2 #A93CD2
triadic
#5E3CD2 #D25E3C #3CD25E
tetradic
#5E3CD2 #D23C65 #B0D23C #3CD2A9
square
#5E3CD2 #D23C65 #B0D23C #3CD2A9
split-complementary
#5E3CD2 #D2A93C #65D23C
monochromatic
#311C78 #4527AA #5E3CD2 #876EDD #B09FE9

Accessibility & contrast

On white

6.88
#5E3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3CD2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3CD2#FFFFFF#000000##FFFFFF
##5E3CD21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#296483
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3cd2;
/* rgb */ color: rgb(94, 60, 210);
/* oklch */ color: oklch(49.1% 0.216 285.7);
Tailwind
colors: {
  custom: {
    50: '#9775e1',
    500: '#5e3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e3cd2;
$custom-light: #9775e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3cd2",
  "rgb": {
    "r": 94,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 253.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.21562,
    "h": 285.7
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#5E3CD2
secondary
#C7D594
accent
#E642C1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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