#9F32C5#9F32C5

#9F32C5 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.223 H 315.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9F32C5
RGBrgb(159, 50, 197)
HSLhsl(284, 60%, 48%)
HSVhsv(284, 75%, 77%)
CMYKcmyk(19.3%, 74.6%, 0%, 22.7%)
CIE-LABlab(43.78, 64.89, -55.35)
CIE-LCHlch(43.78, 85.29, 319.53°)
OKLaboklab(54.42% 0.1593 -0.156)
OKLCHoklch(54.42% 0.223 315.6)
XYZxyz(25.5151, 13.6843, 54.1098)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32C5 #58C532
analogous
#5532C5 #9F32C5 #C532A1
triadic
#9F32C5 #C59F32 #32C59F
tetradic
#9F32C5 #C55532 #58C532 #32A1C5
square
#9F32C5 #C55532 #58C532 #32A1C5
split-complementary
#9F32C5 #A1C532 #32C555
monochromatic
#501963 #782694 #9F32C5 #B75ED6 #CD8FE3

Accessibility & contrast

On white

5.62
#9F32C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9F32C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32C5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32C5#FFFFFF#000000##FFFFFF
##9F32C51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#2E6AC2
Tritanopia (blue-blind)
#9C527A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f32c5;
/* rgb */ color: rgb(159, 50, 197);
/* oklch */ color: oklch(54.4% 0.223 315.6);
Tailwind
colors: {
  custom: {
    50: '#c075d7',
    500: '#9f32c5',
    950: '#000000',
  },
}
SCSS
$custom: #9f32c5;
$custom-light: #c075d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32c5",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 284.49,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.22296,
    "h": 315.6
  },
  "luminance": 0.13683
}

Semantic roles & 50–950 ramp

primary
#9F32C5
secondary
#98CD86
accent
#E3456E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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