#9C2C8E#9C2C8E

#9C2C8E is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.183 H 333.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9C2C8E
RGBrgb(156, 44, 142)
HSLhsl(308, 56%, 39%)
HSVhsv(308, 72%, 61%)
CMYKcmyk(0%, 71.8%, 9%, 38.8%)
CIE-LABlab(39.28, 56.58, -29.79)
CIE-LCHlch(39.28, 63.94, 332.23°)
OKLaboklab(50.07% 0.1636 -0.0816)
OKLCHoklch(50.07% 0.183 333.5)
XYZxyz(19.4936, 10.8239, 26.6485)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2C8E #2C9C3A
analogous
#722C9C #9C2C8E #9C2C56
triadic
#9C2C8E #8E9C2C #2C8E9C
tetradic
#9C2C8E #9C722C #2C9C3A #2C569C
square
#9C2C8E #9C722C #2C9C3A #2C569C
split-complementary
#9C2C8E #569C2C #2C9C72
monochromatic
#3D1137 #6C1F63 #9C2C8E #C83DB7 #D66DC9

Accessibility & contrast

On white

6.64
#9C2C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9C2C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2C8E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2C8E#FFFFFF#000000##FFFFFF
##9C2C8E1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#51628B
Tritanopia (blue-blind)
#A3365A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2c8e;
/* rgb */ color: rgb(156, 44, 142);
/* oklch */ color: oklch(50.1% 0.183 333.5);
Tailwind
colors: {
  custom: {
    50: '#bd70af',
    500: '#9c2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2c8e;
$custom-light: #bd70af;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2c8e",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 307.5,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.18283,
    "h": 333.5
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#9C2C8E
secondary
#67BD72
accent
#DF5B49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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