#9C2291#9C2291

#9C2291 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.196 H 332.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9C2291
RGBrgb(156, 34, 145)
HSLhsl(305, 64%, 37%)
HSVhsv(305, 78%, 61%)
CMYKcmyk(0%, 78.2%, 7.1%, 38.8%)
CIE-LABlab(38.30, 60.30, -33.17)
CIE-LCHlch(38.30, 68.82, 331.19°)
OKLaboklab(49.41% 0.1733 -0.0913)
OKLCHoklch(49.41% 0.196 332.2)
XYZxyz(19.3932, 10.2579, 27.7412)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2291 #229C2D
analogous
#6A229C #9C2291 #9C2254
triadic
#9C2291 #919C22 #22919C
tetradic
#9C2291 #9C6A22 #229C2D #22549C
square
#9C2291 #9C6A22 #229C2D #22549C
split-complementary
#9C2291 #549C22 #229C6A
monochromatic
#380C34 #6A1762 #9C2291 #CE2DC0 #DC5DD0

Accessibility & contrast

On white

6.88
#9C2291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9C2291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2291
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2291#FFFFFF#000000##FFFFFF
##9C22911.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F94
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#A33158
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2291;
/* rgb */ color: rgb(156, 34, 145);
/* oklch */ color: oklch(49.4% 0.196 332.2);
Tailwind
colors: {
  custom: {
    50: '#bd6cb1',
    500: '#9c2291',
    950: '#000000',
  },
}
SCSS
$custom: #9c2291;
$custom-light: #bd6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2291",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 305.41,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.19583,
    "h": 332.2
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#9C2291
secondary
#5AC063
accent
#E75041
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2291

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

Preview Lab → · Contrast checker → · Palette generator →

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