#9F2A96#9F2A96

#9F2A96 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.193 H 331.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9F2A96
RGBrgb(159, 42, 150)
HSLhsl(305, 58%, 39%)
HSVhsv(305, 74%, 62%)
CMYKcmyk(0%, 73.6%, 5.7%, 37.6%)
CIE-LABlab(39.97, 59.26, -33.55)
CIE-LCHlch(39.97, 68.09, 330.49°)
OKLaboklab(50.79% 0.1693 -0.0924)
OKLCHoklch(50.79% 0.193 331.4)
XYZxyz(20.6311, 11.2305, 29.9294)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A96 #2A9F33
analogous
#6D2A9F #9F2A96 #9F2A5C
triadic
#9F2A96 #969F2A #2A969F
tetradic
#9F2A96 #9F6D2A #2A9F33 #2A5C9F
square
#9F2A96 #9F6D2A #2A9F33 #2A5C9F
split-complementary
#9F2A96 #5C9F2A #2A9F6D
monochromatic
#3E103B #6F1D68 #9F2A96 #CB3BC0 #D86BD0

Accessibility & contrast

On white

6.47
#9F2A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9F2A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A96
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A96#FFFFFF#000000##FFFFFF
##9F2A961.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2a96;
/* rgb */ color: rgb(159, 42, 150);
/* oklch */ color: oklch(50.8% 0.193 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf70b5',
    500: '#9f2a96',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a96;
$custom-light: #bf70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a96",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 304.615,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.19284,
    "h": 331.4
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#9F2A96
secondary
#66BF6D
accent
#E15246
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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