#9F2B91#9F2B91

#9F2B91 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.188 H 333.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F2B91
RGBrgb(159, 43, 145)
HSLhsl(307, 57%, 40%)
HSVhsv(307, 73%, 62%)
CMYKcmyk(0%, 73%, 8.8%, 37.6%)
CIE-LABlab(39.82, 58.12, -30.73)
CIE-LCHlch(39.82, 65.75, 332.13°)
OKLaboklab(50.6% 0.168 -0.0842)
OKLCHoklch(50.6% 0.188 333.4)
XYZxyz(20.2729, 11.1447, 27.8660)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B91 #2B9F39
analogous
#732B9F #9F2B91 #9F2B57
triadic
#9F2B91 #919F2B #2B919F
tetradic
#9F2B91 #9F732B #2B9F39 #2B579F
square
#9F2B91 #9F732B #2B9F39 #2B579F
split-complementary
#9F2B91 #579F2B #2B9F73
monochromatic
#3F1139 #6F1E65 #9F2B91 #CA3DB9 #D76DCB

Accessibility & contrast

On white

6.50
#9F2B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9F2B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B91
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B91#FFFFFF#000000##FFFFFF
##9F2B911.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#A6365B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2b91;
/* rgb */ color: rgb(159, 43, 145);
/* oklch */ color: oklch(50.6% 0.188 333.4);
Tailwind
colors: {
  custom: {
    50: '#bf70b1',
    500: '#9f2b91',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b91;
$custom-light: #bf70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b91",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 307.241,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50604,
    "c": 0.18795,
    "h": 333.4
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#9F2B91
secondary
#67BE72
accent
#E15A47
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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