#9C2A91#9C2A91

#9C2A91 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.187 H 332.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9C2A91
RGBrgb(156, 42, 145)
HSLhsl(306, 58%, 39%)
HSVhsv(306, 73%, 61%)
CMYKcmyk(0%, 73.1%, 7.1%, 38.8%)
CIE-LABlab(39.19, 57.76, -31.76)
CIE-LCHlch(39.19, 65.92, 331.19°)
OKLaboklab(50.05% 0.1659 -0.0873)
OKLCHoklch(50.05% 0.187 332.2)
XYZxyz(19.6492, 10.7698, 27.8265)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A91 #2A9C35
analogous
#6E2A9C #9C2A91 #9C2A58
triadic
#9C2A91 #919C2A #2A919C
tetradic
#9C2A91 #9C6E2A #2A9C35 #2A589C
square
#9C2A91 #9C6E2A #2A9C35 #2A589C
split-complementary
#9C2A91 #589C2A #2A9C6E
monochromatic
#3C1037 #6C1D64 #9C2A91 #CA39BC #D76ACC

Accessibility & contrast

On white

6.66
#9C2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9C2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A91
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A91#FFFFFF#000000##FFFFFF
##9C2A911.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#A3365B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2a91;
/* rgb */ color: rgb(156, 42, 145);
/* oklch */ color: oklch(50.0% 0.187 332.2);
Tailwind
colors: {
  custom: {
    50: '#bd6fb1',
    500: '#9c2a91',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a91;
$custom-light: #bd6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a91",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 305.789,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.18743,
    "h": 332.2
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#9C2A91
secondary
#65BD6D
accent
#E15647
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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