#9C2E8E#9C2E8E

#9C2E8E is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.180 H 333.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9C2E8E
RGBrgb(156, 46, 142)
HSLhsl(308, 54%, 40%)
HSVhsv(308, 71%, 61%)
CMYKcmyk(0%, 70.5%, 9%, 38.8%)
CIE-LABlab(39.54, 55.85, -29.38)
CIE-LCHlch(39.54, 63.11, 332.25°)
OKLaboklab(50.25% 0.1615 -0.0805)
OKLCHoklch(50.25% 0.18 333.5)
XYZxyz(19.5699, 10.9765, 26.6739)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E8E #2E9C3C
analogous
#732E9C #9C2E8E #9C2E57
triadic
#9C2E8E #8E9C2E #2E8E9C
tetradic
#9C2E8E #9C732E #2E9C3C #2E579C
square
#9C2E8E #9C732E #2E9C3C #2E579C
split-complementary
#9C2E8E #579C2E #2E9C73
monochromatic
#3D1238 #6D2063 #9C2E8E #C740B6 #D570C8

Accessibility & contrast

On white

6.57
#9C2E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9C2E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E8E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E8E#FFFFFF#000000##FFFFFF
##9C2E8E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A3385A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2e8e;
/* rgb */ color: rgb(156, 46, 142);
/* oklch */ color: oklch(50.3% 0.180 333.5);
Tailwind
colors: {
  custom: {
    50: '#bd71af',
    500: '#9c2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e8e;
$custom-light: #bd71af;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e8e",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 307.636,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50253,
    "c": 0.18041,
    "h": 333.5
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#9C2E8E
secondary
#6ABC74
accent
#DE5D4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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