#9B2D91#9B2D91

#9B2D91 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.183 H 331.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9B2D91
RGBrgb(155, 45, 145)
HSLhsl(305, 55%, 39%)
HSVhsv(305, 71%, 61%)
CMYKcmyk(0%, 71%, 6.5%, 39.2%)
CIE-LABlab(39.40, 56.45, -31.45)
CIE-LCHlch(39.40, 64.62, 330.88°)
OKLaboklab(50.17% 0.1617 -0.0864)
OKLCHoklch(50.17% 0.183 331.9)
XYZxyz(19.5668, 10.8912, 27.8542)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D91 #2D9B37
analogous
#6E2D9B #9B2D91 #9B2D5A
triadic
#9B2D91 #919B2D #2D919B
tetradic
#9B2D91 #9B6E2D #2D9B37 #2D5A9B
square
#9B2D91 #9B6E2D #2D9B37 #2D5A9B
split-complementary
#9B2D91 #5A9B2D #2D9B6E
monochromatic
#3C1138 #6C1F65 #9B2D91 #C73EBB #D56ECB

Accessibility & contrast

On white

6.61
#9B2D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9B2D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D91
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D91#FFFFFF#000000##FFFFFF
##9B2D911.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#A2395B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2d91;
/* rgb */ color: rgb(155, 45, 145);
/* oklch */ color: oklch(50.2% 0.183 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc70b1',
    500: '#9b2d91',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d91;
$custom-light: #bc70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d91",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 305.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.18334,
    "h": 331.9
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#9B2D91
secondary
#68BC70
accent
#DE5749
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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