#9B2C8B#9B2C8B

#9B2C8B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.180 H 334.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9B2C8B
RGBrgb(155, 44, 139)
HSLhsl(309, 56%, 39%)
HSVhsv(309, 72%, 61%)
CMYKcmyk(0%, 71.6%, 10.3%, 39.2%)
CIE-LABlab(38.96, 55.86, -28.47)
CIE-LCHlch(38.96, 62.70, 332.99°)
OKLaboklab(49.75% 0.1623 -0.0778)
OKLCHoklch(49.75% 0.18 334.4)
XYZxyz(19.0786, 10.6356, 25.4692)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2C8B #2C9B3C
analogous
#742C9B #9B2C8B #9B2C54
triadic
#9B2C8B #8B9B2C #2C8B9B
tetradic
#9B2C8B #9B742C #2C9B3C #2C549B
square
#9B2C8B #9B742C #2C9B3C #2C549B
split-complementary
#9B2C8B #549B2C #2C9B74
monochromatic
#3C1136 #6B1E60 #9B2C8B #C83CB4 #D56CC6

Accessibility & contrast

On white

6.72
#9B2C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9B2C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2C8B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2C8B#FFFFFF#000000##FFFFFF
##9B2C8B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#516288
Tritanopia (blue-blind)
#A23558
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2c8b;
/* rgb */ color: rgb(155, 44, 139);
/* oklch */ color: oklch(49.8% 0.180 334.4);
Tailwind
colors: {
  custom: {
    50: '#bc70ad',
    500: '#9b2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #9b2c8b;
$custom-light: #bc70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2c8b",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 308.649,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.18,
    "h": 334.4
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#9B2C8B
secondary
#67BC73
accent
#DF5E49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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