#9C2B9A#9C2B9A

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

Color values

HEX#9C2B9A
RGBrgb(156, 43, 154)
HSLhsl(301, 57%, 39%)
HSVhsv(301, 72%, 61%)
CMYKcmyk(0%, 72.4%, 1.3%, 38.8%)
CIE-LABlab(39.80, 58.88, -36.26)
CIE-LCHlch(39.80, 69.16, 328.37°)
OKLaboklab(50.65% 0.1652 -0.1003)
OKLCHoklch(50.65% 0.193 328.7)
XYZxyz(20.4067, 11.1303, 31.6391)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B9A #2B9C2D
analogous
#662B9C #9C2B9A #9C2B62
triadic
#9C2B9A #9A9C2B #2B9A9C
tetradic
#9C2B9A #9C662B #2B9C2D #2B629C
square
#9C2B9A #9C662B #2B9C2D #2B629C
split-complementary
#9C2B9A #629C2B #2B9C66
monochromatic
#3C113B #6C1E6B #9C2B9A #C93BC7 #D66BD4

Accessibility & contrast

On white

6.51
#9C2B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C2B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B9A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B9A#FFFFFF#000000##FFFFFF
##9C2B9A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549D
Deuteranopia (green-blind)
#4A6397
Tritanopia (blue-blind)
#A13B60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2b9a;
/* rgb */ color: rgb(156, 43, 154);
/* oklch */ color: oklch(50.6% 0.193 328.7);
Tailwind
colors: {
  custom: {
    50: '#bd70b8',
    500: '#9c2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b9a;
$custom-light: #bd70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b9a",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 301.062,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.19326,
    "h": 328.7
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#9C2B9A
secondary
#66BD67
accent
#E04A48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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