#9C2E8D#9C2E8D

#9C2E8D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.180 H 333.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9C2E8D
RGBrgb(156, 46, 141)
HSLhsl(308, 54%, 40%)
HSVhsv(308, 71%, 61%)
CMYKcmyk(0%, 70.5%, 9.6%, 38.8%)
CIE-LABlab(39.49, 55.69, -28.85)
CIE-LCHlch(39.49, 62.72, 332.61°)
OKLaboklab(50.2% 0.1614 -0.0789)
OKLCHoklch(50.2% 0.18 333.9)
XYZxyz(19.4952, 10.9466, 26.2803)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E8D #2E9C3D
analogous
#742E9C #9C2E8D #9C2E56
triadic
#9C2E8D #8D9C2E #2E8D9C
tetradic
#9C2E8D #9C742E #2E9C3D #2E569C
square
#9C2E8D #9C742E #2E9C3D #2E569C
split-complementary
#9C2E8D #569C2E #2E9C74
monochromatic
#3D1238 #6D2062 #9C2E8D #C740B4 #D570C7

Accessibility & contrast

On white

6.59
#9C2E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9C2E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E8D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E8D#FFFFFF#000000##FFFFFF
##9C2E8D1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#A3375A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2e8d;
/* rgb */ color: rgb(156, 46, 141);
/* oklch */ color: oklch(50.2% 0.180 333.9);
Tailwind
colors: {
  custom: {
    50: '#bd71ae',
    500: '#9c2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e8d;
$custom-light: #bd71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e8d",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 308.182,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.502,
    "c": 0.17965,
    "h": 333.9
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#9C2E8D
secondary
#6ABC75
accent
#DE5E4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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