#9F2B96#9F2B96

#9F2B96 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.192 H 331.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9F2B96
RGBrgb(159, 43, 150)
HSLhsl(305, 57%, 40%)
HSVhsv(305, 73%, 62%)
CMYKcmyk(0%, 73%, 5.7%, 37.6%)
CIE-LABlab(40.09, 58.92, -33.36)
CIE-LCHlch(40.09, 67.71, 330.48°)
OKLaboklab(50.88% 0.1683 -0.0918)
OKLCHoklch(50.88% 0.192 331.4)
XYZxyz(20.6670, 11.3023, 29.9413)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B96 #2B9F34
analogous
#6E2B9F #9F2B96 #9F2B5C
triadic
#9F2B96 #969F2B #2B969F
tetradic
#9F2B96 #9F6E2B #2B9F34 #2B5C9F
square
#9F2B96 #9F6E2B #2B9F34 #2B5C9F
split-complementary
#9F2B96 #5C9F2B #2B9F6E
monochromatic
#3F113B #6F1E69 #9F2B96 #CA3DBF #D76DCF

Accessibility & contrast

On white

6.44
#9F2B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9F2B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B96
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B96#FFFFFF#000000##FFFFFF
##9F2B961.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#A6395E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2b96;
/* rgb */ color: rgb(159, 43, 150);
/* oklch */ color: oklch(50.9% 0.192 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf70b5',
    500: '#9f2b96',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b96;
$custom-light: #bf70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b96",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 304.655,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.19172,
    "h": 331.4
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#9F2B96
secondary
#67BE6E
accent
#E15347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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