#9B2F91#9B2F91

#9B2F91 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.181 H 331.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9B2F91
RGBrgb(155, 47, 145)
HSLhsl(306, 53%, 40%)
HSVhsv(306, 70%, 61%)
CMYKcmyk(0%, 69.7%, 6.5%, 39.2%)
CIE-LABlab(39.66, 55.71, -31.04)
CIE-LCHlch(39.66, 63.77, 330.88°)
OKLaboklab(50.36% 0.1596 -0.0852)
OKLCHoklch(50.36% 0.181 331.9)
XYZxyz(19.6449, 11.0475, 27.8803)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F91 #2F9B39
analogous
#6F2F9B #9B2F91 #9B2F5B
triadic
#9B2F91 #919B2F #2F919B
tetradic
#9B2F91 #9B6F2F #2F9B39 #2F5B9B
square
#9B2F91 #9B6F2F #2F9B39 #2F5B9B
split-complementary
#9B2F91 #5B9B2F #2F9B6F
monochromatic
#3D1339 #6C2165 #9B2F91 #C642B9 #D471CB

Accessibility & contrast

On white

6.54
#9B2F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9B2F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F91
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F91#FFFFFF#000000##FFFFFF
##9B2F911.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#A13A5C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2f91;
/* rgb */ color: rgb(155, 47, 145);
/* oklch */ color: oklch(50.4% 0.181 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc71b1',
    500: '#9b2f91',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f91;
$custom-light: #bc71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f91",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 305.556,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.18089,
    "h": 331.9
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#9B2F91
secondary
#6ABB72
accent
#DD584B
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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