#9C2A9C#9C2A9C

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

Color values

HEX#9C2A9C
RGBrgb(156, 42, 156)
HSLhsl(300, 58%, 39%)
HSVhsv(300, 73%, 61%)
CMYKcmyk(0%, 73.1%, 0%, 38.8%)
CIE-LABlab(39.79, 59.56, -37.49)
CIE-LCHlch(39.79, 70.38, 327.82°)
OKLaboklab(50.68% 0.1662 -0.1038)
OKLCHoklch(50.68% 0.196 328)
XYZxyz(20.5388, 11.1256, 32.5117)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A9C #2A9C2A
analogous
#632A9C #9C2A9C #9C2A63
triadic
#9C2A9C #9C9C2A #2A9C9C
tetradic
#9C2A9C #9C632A #2A9C2A #2A639C
square
#9C2A9C #9C632A #2A9C2A #2A639C
split-complementary
#9C2A9C #639C2A #2A9C63
monochromatic
#3C103C #6C1D6C #9C2A9C #CA39CA #D76AD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2A9C#FFFFFF#000000##FFFFFF
##9C2A9C1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549F
Deuteranopia (green-blind)
#496399
Tritanopia (blue-blind)
#A13C61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2a9c;
/* rgb */ color: rgb(156, 42, 156);
/* oklch */ color: oklch(50.7% 0.196 328.0);
Tailwind
colors: {
  custom: {
    50: '#bd70ba',
    500: '#9c2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a9c;
$custom-light: #bd70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a9c",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50676,
    "c": 0.19595,
    "h": 328
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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