#9B2291#9B2291

#9B2291 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.195 H 331.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9B2291
RGBrgb(155, 34, 145)
HSLhsl(305, 64%, 37%)
HSVhsv(305, 78%, 61%)
CMYKcmyk(0%, 78.1%, 6.5%, 39.2%)
CIE-LABlab(38.13, 60.08, -33.46)
CIE-LCHlch(38.13, 68.77, 330.89°)
OKLaboklab(49.25% 0.1722 -0.0921)
OKLCHoklch(49.25% 0.195 331.9)
XYZxyz(19.2005, 10.1586, 27.7321)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2291 #229B2C
analogous
#69229B #9B2291 #9B2254
triadic
#9B2291 #919B22 #22919B
tetradic
#9B2291 #9B6922 #229B2C #22549B
square
#9B2291 #9B6922 #229B2C #22549B
split-complementary
#9B2291 #549B22 #229B69
monochromatic
#370C33 #691762 #9B2291 #CD2DC0 #DB5CD1

Accessibility & contrast

On white

6.93
#9B2291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9B2291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2291
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2291#FFFFFF#000000##FFFFFF
##9B22911.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#A23158
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2291;
/* rgb */ color: rgb(155, 34, 145);
/* oklch */ color: oklch(49.3% 0.195 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc6cb1',
    500: '#9b2291',
    950: '#000000',
  },
}
SCSS
$custom: #9b2291;
$custom-light: #bc6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2291",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 304.959,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.19532,
    "h": 331.9
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#9B2291
secondary
#59C062
accent
#E74F41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9B2291

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

Preview Lab → · Contrast checker → · Palette generator →

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