#9C2A99#9C2A99

#9C2A99 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.194 H 329.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9C2A99
RGBrgb(156, 42, 153)
HSLhsl(302, 58%, 39%)
HSVhsv(302, 73%, 61%)
CMYKcmyk(0%, 73.1%, 1.9%, 38.8%)
CIE-LABlab(39.62, 59.06, -35.94)
CIE-LCHlch(39.62, 69.14, 328.68°)
OKLaboklab(50.5% 0.1662 -0.0994)
OKLCHoklch(50.5% 0.194 329.1)
XYZxyz(20.2879, 11.0253, 31.1904)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A99 #2A9C2D
analogous
#662A9C #9C2A99 #9C2A60
triadic
#9C2A99 #999C2A #2A999C
tetradic
#9C2A99 #9C662A #2A9C2D #2A609C
square
#9C2A99 #9C662A #2A9C2D #2A609C
split-complementary
#9C2A99 #609C2A #2A9C66
monochromatic
#3C103A #6C1D6A #9C2A99 #CA39C6 #D76AD4

Accessibility & contrast

On white

6.55
#9C2A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9C2A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A99
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A99#FFFFFF#000000##FFFFFF
##9C2A991.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#A13A5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2a99;
/* rgb */ color: rgb(156, 42, 153);
/* oklch */ color: oklch(50.5% 0.194 329.1);
Tailwind
colors: {
  custom: {
    50: '#bd6fb7',
    500: '#9c2a99',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a99;
$custom-light: #bd6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a99",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 301.579,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.19359,
    "h": 329.1
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#9C2A99
secondary
#65BD67
accent
#E14B47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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