#5E32BC#5E32BC

#5E32BC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.201 H 290.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5E32BC
RGBrgb(94, 50, 188)
HSLhsl(259, 58%, 47%)
HSVhsv(259, 73%, 74%)
CMYKcmyk(50%, 73.4%, 0%, 26.3%)
CIE-LABlab(34.58, 51.16, -65.41)
CIE-LCHlch(34.58, 83.04, 308.03°)
OKLaboklab(45.89% 0.0715 -0.1878)
OKLCHoklch(45.89% 0.201 290.9)
XYZxyz(14.8312, 8.2911, 48.3861)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32BC #90BC32
analogous
#324BBC #5E32BC #A332BC
triadic
#5E32BC #BC5E32 #32BC5E
tetradic
#5E32BC #BC324B #90BC32 #32BCA3
square
#5E32BC #BC324B #90BC32 #32BCA3
split-complementary
#5E32BC #BCA332 #4BBC32
monochromatic
#2E185B #46258C #5E32BC #7F58D3 #A489E0

Accessibility & contrast

On white

7.90
#5E32BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5E32BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32BC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32BC#FFFFFF#000000##FFFFFF
##5E32BC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#3E5774
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e32bc;
/* rgb */ color: rgb(94, 50, 188);
/* oklch */ color: oklch(45.9% 0.201 290.9);
Tailwind
colors: {
  custom: {
    50: '#956ed1',
    500: '#5e32bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e32bc;
$custom-light: #956ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32bc",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 259.13,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45885,
    "c": 0.20096,
    "h": 290.9
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#5E32BC
secondary
#B2C980
accent
#E147B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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