#5D32EA#5D32EA

#5D32EA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.1% C 0.252 H 283.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5D32EA
RGBrgb(93, 50, 234)
HSLhsl(254, 81%, 56%)
HSVhsv(254, 79%, 92%)
CMYKcmyk(60.3%, 78.6%, 0%, 8.2%)
CIE-LABlab(38.81, 63.62, -85.05)
CIE-LCHlch(38.81, 106.22, 306.80°)
OKLaboklab(50.12% 0.0576 -0.2453)
OKLCHoklch(50.12% 0.252 283.2)
XYZxyz(20.5015, 10.5475, 78.7815)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32EA #BFEA32
analogous
#3263EA #5D32EA #B932EA
triadic
#5D32EA #EA5D32 #32EA5D
tetradic
#5D32EA #EA3263 #BFEA32 #32EAB9
square
#5D32EA #EA3263 #BFEA32 #32EAB9
split-complementary
#5D32EA #EAB932 #63EA32
monochromatic
#2E0F93 #3F15CA #5D32EA #896AF0 #B5A1F5

Accessibility & contrast

On white

6.75
#5D32EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D32EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D32EA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32EA#FFFFFF#000000##FFFFFF
##5D32EA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EF
Deuteranopia (green-blind)
#0055E7
Tritanopia (blue-blind)
#00698F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d32ea;
/* rgb */ color: rgb(93, 50, 234);
/* oklch */ color: oklch(50.1% 0.252 283.2);
Tailwind
colors: {
  custom: {
    50: '#9b70f2',
    500: '#5d32ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d32ea;
$custom-light: #9b70f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32ea",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 234
  },
  "hsl": {
    "h": 254.022,
    "s": 81.416,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.25193,
    "h": 283.2
  },
  "luminance": 0.10549
}

Semantic roles & 50–950 ramp

primary
#5D32EA
secondary
#D0E296
accent
#F830C9
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#100817
muted
#7F7B85

Preview Lab

Preview with #5D32EA

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

Preview Lab → · Contrast checker → · Palette generator →

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