#9B2C8D#9B2C8D

#9B2C8D is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.181 H 333.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9B2C8D
RGBrgb(155, 44, 141)
HSLhsl(308, 56%, 39%)
HSVhsv(308, 72%, 61%)
CMYKcmyk(0%, 71.6%, 9%, 39.2%)
CIE-LABlab(39.06, 56.18, -29.54)
CIE-LCHlch(39.06, 63.47, 332.27°)
OKLaboklab(49.86% 0.1625 -0.0809)
OKLCHoklch(49.86% 0.182 333.5)
XYZxyz(19.2261, 10.6946, 26.2458)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2C8D #2C9B3A
analogous
#722C9B #9B2C8D #9B2C56
triadic
#9B2C8D #8D9B2C #2C8D9B
tetradic
#9B2C8D #9B722C #2C9B3A #2C569B
square
#9B2C8D #9B722C #2C9B3A #2C569B
split-complementary
#9B2C8D #569B2C #2C9B72
monochromatic
#3C1136 #6B1E62 #9B2C8D #C83CB6 #D56CC8

Accessibility & contrast

On white

6.69
#9B2C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B2C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2C8D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2C8D#FFFFFF#000000##FFFFFF
##9B2C8D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A23659
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2c8d;
/* rgb */ color: rgb(155, 44, 141);
/* oklch */ color: oklch(49.9% 0.181 333.5);
Tailwind
colors: {
  custom: {
    50: '#bc70ae',
    500: '#9b2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b2c8d;
$custom-light: #bc70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2c8d",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 307.568,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.1815,
    "h": 333.5
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#9B2C8D
secondary
#67BC71
accent
#DF5C49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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