#9C2A8A#9C2A8A

#9C2A8A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.182 H 335.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9C2A8A
RGBrgb(156, 42, 138)
HSLhsl(309, 58%, 39%)
HSVhsv(309, 73%, 61%)
CMYKcmyk(0%, 73.1%, 11.5%, 38.8%)
CIE-LABlab(38.83, 56.66, -28.05)
CIE-LCHlch(38.83, 63.22, 333.66°)
OKLaboklab(49.67% 0.1653 -0.0766)
OKLCHoklch(49.67% 0.182 335.1)
XYZxyz(19.1259, 10.5605, 25.0709)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A8A #2A9C3C
analogous
#752A9C #9C2A8A #9C2A51
triadic
#9C2A8A #8A9C2A #2A8A9C
tetradic
#9C2A8A #9C752A #2A9C3C #2A519C
square
#9C2A8A #9C752A #2A9C3C #2A519C
split-complementary
#9C2A8A #519C2A #2A9C75
monochromatic
#3C1035 #6C1D5F #9C2A8A #CA39B3 #D76AC6

Accessibility & contrast

On white

6.75
#9C2A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C2A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A8A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A8A#FFFFFF#000000##FFFFFF
##9C2A8A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#526187
Tritanopia (blue-blind)
#A43357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2a8a;
/* rgb */ color: rgb(156, 42, 138);
/* oklch */ color: oklch(49.7% 0.182 335.1);
Tailwind
colors: {
  custom: {
    50: '#bd6fac',
    500: '#9c2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a8a;
$custom-light: #bd6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a8a",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 309.474,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.18222,
    "h": 335.1
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#9C2A8A
secondary
#65BD73
accent
#E15F47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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