#9C2A95#9C2A95

#9C2A95 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.190 H 330.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C2A95
RGBrgb(156, 42, 149)
HSLhsl(304, 58%, 39%)
HSVhsv(304, 73%, 61%)
CMYKcmyk(0%, 73.1%, 4.5%, 38.8%)
CIE-LABlab(39.40, 58.40, -33.86)
CIE-LCHlch(39.40, 67.51, 329.90°)
OKLaboklab(50.27% 0.1661 -0.0933)
OKLCHoklch(50.27% 0.19 330.7)
XYZxyz(19.9630, 10.8953, 29.4795)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A95 #2A9C31
analogous
#6A2A9C #9C2A95 #9C2A5C
triadic
#9C2A95 #959C2A #2A959C
tetradic
#9C2A95 #9C6A2A #2A9C31 #2A5C9C
square
#9C2A95 #9C6A2A #2A9C31 #2A5C9C
split-complementary
#9C2A95 #5C9C2A #2A9C6A
monochromatic
#3C1039 #6C1D67 #9C2A95 #CA39C1 #D76AD0

Accessibility & contrast

On white

6.61
#9C2A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9C2A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A95
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A95#FFFFFF#000000##FFFFFF
##9C2A951.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5398
Deuteranopia (green-blind)
#4D6292
Tritanopia (blue-blind)
#A2385D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2a95;
/* rgb */ color: rgb(156, 42, 149);
/* oklch */ color: oklch(50.3% 0.190 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd6fb4',
    500: '#9c2a95',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a95;
$custom-light: #bd6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a95",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 303.684,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50273,
    "c": 0.19049,
    "h": 330.7
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#9C2A95
secondary
#65BD6A
accent
#E15047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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