#9F2B95#9F2B95

#9F2B95 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.191 H 331.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9F2B95
RGBrgb(159, 43, 149)
HSLhsl(305, 57%, 40%)
HSVhsv(305, 73%, 62%)
CMYKcmyk(0%, 73%, 6.3%, 37.6%)
CIE-LABlab(40.03, 58.76, -32.84)
CIE-LCHlch(40.03, 67.31, 330.80°)
OKLaboklab(50.82% 0.1683 -0.0903)
OKLCHoklch(50.82% 0.191 331.8)
XYZxyz(20.5868, 11.2703, 29.5191)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B95 #2B9F35
analogous
#6F2B9F #9F2B95 #9F2B5B
triadic
#9F2B95 #959F2B #2B959F
tetradic
#9F2B95 #9F6F2B #2B9F35 #2B5B9F
square
#9F2B95 #9F6F2B #2B9F35 #2B5B9F
split-complementary
#9F2B95 #5B9F2B #2B9F6F
monochromatic
#3F113B #6F1E68 #9F2B95 #CA3DBE #D76DCE

Accessibility & contrast

On white

6.45
#9F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2B95
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B95#FFFFFF#000000##FFFFFF
##9F2B951.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#506492
Tritanopia (blue-blind)
#A6385D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2b95;
/* rgb */ color: rgb(159, 43, 149);
/* oklch */ color: oklch(50.8% 0.191 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf70b4',
    500: '#9f2b95',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b95;
$custom-light: #bf70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b95",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 305.172,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50822,
    "c": 0.19096,
    "h": 331.8
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#9F2B95
secondary
#67BE6F
accent
#E15447
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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