#9F32C1#9F32C1

#9F32C1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.219 H 316.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9F32C1
RGBrgb(159, 50, 193)
HSLhsl(286, 59%, 48%)
HSVhsv(286, 74%, 76%)
CMYKcmyk(17.6%, 74.1%, 0%, 24.3%)
CIE-LABlab(43.51, 64.11, -53.45)
CIE-LCHlch(43.51, 83.47, 320.18°)
OKLaboklab(54.15% 0.1598 -0.1504)
OKLCHoklch(54.15% 0.219 316.7)
XYZxyz(25.0629, 13.5034, 51.7280)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32C1 #54C132
analogous
#5732C1 #9F32C1 #C1329C
triadic
#9F32C1 #C19F32 #32C19F
tetradic
#9F32C1 #C15732 #54C132 #329CC1
square
#9F32C1 #C15732 #54C132 #329CC1
split-complementary
#9F32C1 #9CC132 #32C157
monochromatic
#4F1960 #772590 #9F32C1 #B85CD5 #CD8CE1

Accessibility & contrast

On white

5.68
#9F32C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9F32C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32C1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32C1#FFFFFF#000000##FFFFFF
##9F32C11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#336ABE
Tritanopia (blue-blind)
#9D5077
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f32c1;
/* rgb */ color: rgb(159, 50, 193);
/* oklch */ color: oklch(54.1% 0.219 316.7);
Tailwind
colors: {
  custom: {
    50: '#c075d4',
    500: '#9f32c1',
    950: '#000000',
  },
}
SCSS
$custom: #9f32c1;
$custom-light: #c075d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32c1",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 285.734,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.21945,
    "h": 316.7
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#9F32C1
secondary
#94CB83
accent
#E2466B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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