#9B2C8A#9B2C8A

#9B2C8A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.179 H 334.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9B2C8A
RGBrgb(155, 44, 138)
HSLhsl(309, 56%, 39%)
HSVhsv(309, 72%, 61%)
CMYKcmyk(0%, 71.6%, 11%, 39.2%)
CIE-LABlab(38.91, 55.70, -27.94)
CIE-LCHlch(38.91, 62.32, 333.37°)
OKLaboklab(49.7% 0.1622 -0.0763)
OKLCHoklch(49.7% 0.179 334.8)
XYZxyz(19.0059, 10.6065, 25.0861)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2C8A #2C9B3D
analogous
#752C9B #9B2C8A #9B2C53
triadic
#9B2C8A #8A9B2C #2C8A9B
tetradic
#9B2C8A #9B752C #2C9B3D #2C539B
square
#9B2C8A #9B752C #2C9B3D #2C539B
split-complementary
#9B2C8A #539B2C #2C9B75
monochromatic
#3C1135 #6B1E60 #9B2C8A #C83CB2 #D56CC5

Accessibility & contrast

On white

6.73
#9B2C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9B2C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2C8A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2C8A#FFFFFF#000000##FFFFFF
##9B2C8A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#526187
Tritanopia (blue-blind)
#A33557
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2c8a;
/* rgb */ color: rgb(155, 44, 138);
/* oklch */ color: oklch(49.7% 0.179 334.8);
Tailwind
colors: {
  custom: {
    50: '#bc70ac',
    500: '#9b2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b2c8a;
$custom-light: #bc70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2c8a",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 309.189,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.17925,
    "h": 334.8
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#9B2C8A
secondary
#67BC74
accent
#DF6049
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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