#9F2C96#9F2C96

#9F2C96 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 331.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F2C96
RGBrgb(159, 44, 150)
HSLhsl(305, 57%, 40%)
HSVhsv(305, 72%, 62%)
CMYKcmyk(0%, 72.3%, 5.7%, 37.6%)
CIE-LABlab(40.21, 58.57, -33.17)
CIE-LCHlch(40.21, 67.31, 330.48°)
OKLaboklab(50.97% 0.1673 -0.0913)
OKLCHoklch(50.97% 0.191 331.4)
XYZxyz(20.7038, 11.3759, 29.9536)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C96 #2C9F35
analogous
#6F2C9F #9F2C96 #9F2C5C
triadic
#9F2C96 #969F2C #2C969F
tetradic
#9F2C96 #9F6F2C #2C9F35 #2C5C9F
square
#9F2C96 #9F6F2C #2C9F35 #2C5C9F
split-complementary
#9F2C96 #5C9F2C #2C9F6F
monochromatic
#3F113C #6F1F69 #9F2C96 #CA3EBF #D76ECF

Accessibility & contrast

On white

6.41
#9F2C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9F2C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C96
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C96#FFFFFF#000000##FFFFFF
##9F2C961.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235599
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#A6395E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2c96;
/* rgb */ color: rgb(159, 44, 150);
/* oklch */ color: oklch(51.0% 0.191 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf71b5',
    500: '#9f2c96',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c96;
$custom-light: #bf71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c96",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 304.696,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.19058,
    "h": 331.4
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#9F2C96
secondary
#69BE6F
accent
#E05448
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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