#9C2294#9C2294

#9C2294 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.6% C 0.198 H 331.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9C2294
RGBrgb(156, 34, 148)
HSLhsl(304, 64%, 37%)
HSVhsv(304, 78%, 61%)
CMYKcmyk(0%, 78.2%, 5.1%, 38.8%)
CIE-LABlab(38.47, 60.77, -34.74)
CIE-LCHlch(38.47, 70.00, 330.25°)
OKLaboklab(49.58% 0.1733 -0.0958)
OKLCHoklch(49.58% 0.198 331.1)
XYZxyz(19.6276, 10.3517, 28.9756)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2294 #229C2A
analogous
#67229C #9C2294 #9C2257
triadic
#9C2294 #949C22 #22949C
tetradic
#9C2294 #9C6722 #229C2A #22579C
square
#9C2294 #9C6722 #229C2A #22579C
split-complementary
#9C2294 #579C22 #229C67
monochromatic
#380C35 #6A1764 #9C2294 #CE2DC4 #DC5DD3

Accessibility & contrast

On white

6.84
#9C2294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C2294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2294
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2294#FFFFFF#000000##FFFFFF
##9C22941.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#4A6091
Tritanopia (blue-blind)
#A2335A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2294;
/* rgb */ color: rgb(156, 34, 148);
/* oklch */ color: oklch(49.6% 0.198 331.1);
Tailwind
colors: {
  custom: {
    50: '#bd6cb4',
    500: '#9c2294',
    950: '#000000',
  },
}
SCSS
$custom: #9c2294;
$custom-light: #bd6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2294",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 303.934,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.19804,
    "h": 331.1
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#9C2294
secondary
#5AC060
accent
#E74C41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2294

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

Preview Lab → · Contrast checker → · Palette generator →

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