#9C1C8E#9C1C8E

#9C1C8E is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.199 H 333.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9C1C8E
RGBrgb(156, 28, 142)
HSLhsl(307, 70%, 36%)
HSVhsv(307, 82%, 61%)
CMYKcmyk(0%, 82.1%, 9%, 38.8%)
CIE-LABlab(37.58, 61.46, -32.47)
CIE-LCHlch(37.58, 69.51, 332.15°)
OKLaboklab(48.84% 0.1779 -0.0892)
OKLCHoklch(48.84% 0.199 333.4)
XYZxyz(19.0082, 9.8531, 26.4867)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1C8E #1C9C2A
analogous
#6A1C9C #9C1C8E #9C1C4E
triadic
#9C1C8E #8E9C1C #1C8E9C
tetradic
#9C1C8E #9C6A1C #1C9C2A #1C4E9C
square
#9C1C8E #9C6A1C #1C9C2A #1C4E9C
split-complementary
#9C1C8E #4E9C1C #1C9C6A
monochromatic
#340930 #68135F #9C1C8E #D025BD #E052D1

Accessibility & contrast

On white

7.07
#9C1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1C8E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1C8E#FFFFFF#000000##FFFFFF
##9C1C8E1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#A32B55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1c8e;
/* rgb */ color: rgb(156, 28, 142);
/* oklch */ color: oklch(48.8% 0.199 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd6aaf',
    500: '#9c1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9c1c8e;
$custom-light: #bd6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1c8e",
  "rgb": {
    "r": 156,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 306.563,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.19904,
    "h": 333.4
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#9C1C8E
secondary
#51C35D
accent
#EC4F3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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