#9C2A9B#9C2A9B

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

Color values

HEX#9C2A9B
RGBrgb(156, 42, 155)
HSLhsl(301, 58%, 39%)
HSVhsv(301, 73%, 61%)
CMYKcmyk(0%, 73.1%, 0.6%, 38.8%)
CIE-LABlab(39.73, 59.39, -36.97)
CIE-LCHlch(39.73, 69.96, 328.10°)
OKLaboklab(50.62% 0.1662 -0.1023)
OKLCHoklch(50.62% 0.195 328.4)
XYZxyz(20.4544, 11.0919, 32.0676)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A9B #2A9C2B
analogous
#642A9C #9C2A9B #9C2A62
triadic
#9C2A9B #9B9C2A #2A9B9C
tetradic
#9C2A9B #9C642A #2A9C2B #2A629C
square
#9C2A9B #9C642A #2A9C2B #2A629C
split-complementary
#9C2A9B #629C2A #2A9C64
monochromatic
#3C103B #6C1D6B #9C2A9B #CA39C9 #D76AD6

Accessibility & contrast

On white

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

On black

3.22
#9C2A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C2A9B#FFFFFF#000000##FFFFFF
##9C2A9B1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549E
Deuteranopia (green-blind)
#496398
Tritanopia (blue-blind)
#A13B60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2a9b;
/* rgb */ color: rgb(156, 42, 155);
/* oklch */ color: oklch(50.6% 0.195 328.4);
Tailwind
colors: {
  custom: {
    50: '#bd70b9',
    500: '#9c2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a9b;
$custom-light: #bd70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a9b",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 300.526,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.19516,
    "h": 328.4
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#9C2A9B
secondary
#65BD65
accent
#E14847
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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