#9E32A2#9E32A2

#9E32A2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.193 H 326.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9E32A2
RGBrgb(158, 50, 162)
HSLhsl(298, 53%, 42%)
HSVhsv(298, 69%, 64%)
CMYKcmyk(2.5%, 69.1%, 0%, 36.5%)
CIE-LABlab(41.47, 58.17, -38.41)
CIE-LCHlch(41.47, 69.71, 326.57°)
OKLaboklab(52.05% 0.1603 -0.1065)
OKLCHoklch(52.05% 0.193 326.4)
XYZxyz(21.7623, 12.1604, 35.3764)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32A2 #36A232
analogous
#6632A2 #9E32A2 #A2326E
triadic
#9E32A2 #A29E32 #32A29E
tetradic
#9E32A2 #A26632 #36A232 #326EA2
square
#9E32A2 #A26632 #36A232 #326EA2
split-complementary
#9E32A2 #6EA232 #32A266
monochromatic
#431544 #702473 #9E32A2 #C34AC7 #D279D6

Accessibility & contrast

On white

6.12
#9E32A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9E32A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32A2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32A2#FFFFFF#000000##FFFFFF
##9E32A21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#4B679F
Tritanopia (blue-blind)
#A24366
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e32a2;
/* rgb */ color: rgb(158, 50, 162);
/* oklch */ color: oklch(52.1% 0.193 326.4);
Tailwind
colors: {
  custom: {
    50: '#be74be',
    500: '#9e32a2',
    950: '#000000',
  },
}
SCSS
$custom: #9e32a2;
$custom-light: #be74be;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32a2",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 297.857,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.1925,
    "h": 326.4
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#9E32A2
secondary
#74BE72
accent
#DC4C51
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E32A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9E32A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva