#9F2B97#9F2B97

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

Color values

HEX#9F2B97
RGBrgb(159, 43, 151)
HSLhsl(304, 57%, 40%)
HSVhsv(304, 73%, 62%)
CMYKcmyk(0%, 73%, 5%, 37.6%)
CIE-LABlab(40.14, 59.08, -33.88)
CIE-LCHlch(40.14, 68.10, 330.17°)
OKLaboklab(50.93% 0.1683 -0.0933)
OKLCHoklch(50.93% 0.192 331)
XYZxyz(20.7478, 11.3347, 30.3672)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B97 #2B9F33
analogous
#6D2B9F #9F2B97 #9F2B5D
triadic
#9F2B97 #979F2B #2B979F
tetradic
#9F2B97 #9F6D2B #2B9F33 #2B5D9F
square
#9F2B97 #9F6D2B #2B9F33 #2B5D9F
split-complementary
#9F2B97 #5D9F2B #2B9F6D
monochromatic
#3F113C #6F1E69 #9F2B97 #CA3DC1 #D76DD0

Accessibility & contrast

On white

6.43
#9F2B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2B97
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B97#FFFFFF#000000##FFFFFF
##9F2B971.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#A5395E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2b97;
/* rgb */ color: rgb(159, 43, 151);
/* oklch */ color: oklch(50.9% 0.192 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf70b6',
    500: '#9f2b97',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b97;
$custom-light: #bf70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b97",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 304.138,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50933,
    "c": 0.19248,
    "h": 331
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#9F2B97
secondary
#67BE6D
accent
#E15247
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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