#9F32AB#9F32AB

#9F32AB is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.7% C 0.201 H 323.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F32AB
RGBrgb(159, 50, 171)
HSLhsl(294, 55%, 43%)
HSVhsv(294, 71%, 67%)
CMYKcmyk(7%, 70.8%, 0%, 32.9%)
CIE-LABlab(42.14, 60.00, -42.69)
CIE-LCHlch(42.14, 73.64, 324.57°)
OKLaboklab(52.74% 0.1614 -0.119)
OKLCHoklch(52.74% 0.201 323.6)
XYZxyz(22.7887, 12.5938, 39.7507)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32AB #3EAB32
analogous
#6332AB #9F32AB #AB327A
triadic
#9F32AB #AB9F32 #32AB9F
tetradic
#9F32AB #AB6332 #3EAB32 #327AAB
square
#9F32AB #AB6332 #3EAB32 #327AAB
split-complementary
#9F32AB #7AAB32 #32AB63
monochromatic
#47164C #73247C #9F32AB #BF4FCB #D07ED9

Accessibility & contrast

On white

5.97
#9F32AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F32AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32AB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32AB#FFFFFF#000000##FFFFFF
##9F32AB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5BAE
Deuteranopia (green-blind)
#4668A8
Tritanopia (blue-blind)
#A2476B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f32ab;
/* rgb */ color: rgb(159, 50, 171);
/* oklch */ color: oklch(52.7% 0.201 323.6);
Tailwind
colors: {
  custom: {
    50: '#bf74c4',
    500: '#9f32ab',
    950: '#000000',
  },
}
SCSS
$custom: #9f32ab;
$custom-light: #bf74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32ab",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 294.05,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.20051,
    "h": 323.6
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#9F32AB
secondary
#7EC277
accent
#DE4A58
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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