#9B2CAC#9B2CAC

#9B2CAC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.206 H 322.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9B2CAC
RGBrgb(155, 44, 172)
HSLhsl(292, 59%, 42%)
HSVhsv(292, 74%, 67%)
CMYKcmyk(9.9%, 74.4%, 0%, 32.5%)
CIE-LABlab(40.82, 61.47, -45.45)
CIE-LCHlch(40.82, 76.44, 323.52°)
OKLaboklab(51.68% 0.1626 -0.1271)
OKLCHoklch(51.68% 0.206 322)
XYZxyz(21.8639, 11.7497, 40.1380)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CAC #3DAC2C
analogous
#5B2CAC #9B2CAC #AC2C7D
triadic
#9B2CAC #AC9B2C #2CAC9B
tetradic
#9B2CAC #AC5B2C #3DAC2C #2C7DAC
square
#9B2CAC #AC5B2C #3DAC2C #2C7DAC
split-complementary
#9B2CAC #7DAC2C #2CAC5B
monochromatic
#43134B #6F207B #9B2CAC #BD46D0 #CF76DC

Accessibility & contrast

On white

6.27
#9B2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9B2CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CAC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CAC#FFFFFF#000000##FFFFFF
##9B2CAC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#3E64A9
Tritanopia (blue-blind)
#9D446A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2cac;
/* rgb */ color: rgb(155, 44, 172);
/* oklch */ color: oklch(51.7% 0.206 322.0);
Tailwind
colors: {
  custom: {
    50: '#bc71c5',
    500: '#9b2cac',
    950: '#000000',
  },
}
SCSS
$custom: #9b2cac;
$custom-light: #bc71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2cac",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 292.031,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.20634,
    "h": 322
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#9B2CAC
secondary
#7BC470
accent
#E2455A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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