#9B2C99#9B2C99

#9B2C99 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.191 H 328.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9B2C99
RGBrgb(155, 44, 153)
HSLhsl(301, 56%, 39%)
HSVhsv(301, 72%, 61%)
CMYKcmyk(0%, 71.6%, 1.3%, 39.2%)
CIE-LABlab(39.70, 58.14, -35.83)
CIE-LCHlch(39.70, 68.29, 328.36°)
OKLaboklab(50.52% 0.1631 -0.0991)
OKLCHoklch(50.52% 0.191 328.7)
XYZxyz(20.1678, 11.0713, 31.2056)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2C99 #2C9B2E
analogous
#662C9B #9B2C99 #9B2C62
triadic
#9B2C99 #999B2C #2C999B
tetradic
#9B2C99 #9B662C #2C9B2E #2C629B
square
#9B2C99 #9B662C #2C9B2E #2C629B
split-complementary
#9B2C99 #629B2C #2C9B66
monochromatic
#3C113B #6B1E6A #9B2C99 #C83CC5 #D56CD3

Accessibility & contrast

On white

6.53
#9B2C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9B2C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2C99
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2C99#FFFFFF#000000##FFFFFF
##9B2C991.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#A03C60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2c99;
/* rgb */ color: rgb(155, 44, 153);
/* oklch */ color: oklch(50.5% 0.191 328.7);
Tailwind
colors: {
  custom: {
    50: '#bc70b7',
    500: '#9b2c99',
    950: '#000000',
  },
}
SCSS
$custom: #9b2c99;
$custom-light: #bc70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2c99",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 301.081,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.19081,
    "h": 328.7
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#9B2C99
secondary
#67BC68
accent
#DF4B49
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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