#9C1E8D#9C1E8D

#9C1E8D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.197 H 333.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9C1E8D
RGBrgb(156, 30, 141)
HSLhsl(307, 68%, 36%)
HSVhsv(307, 81%, 61%)
CMYKcmyk(0%, 80.8%, 9.6%, 38.8%)
CIE-LABlab(37.70, 60.80, -31.67)
CIE-LCHlch(37.70, 68.55, 332.49°)
OKLaboklab(48.91% 0.1764 -0.0869)
OKLCHoklch(48.91% 0.197 333.8)
XYZxyz(18.9825, 9.9212, 26.1094)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1E8D #1E9C2D
analogous
#6C1E9C #9C1E8D #9C1E4E
triadic
#9C1E8D #8D9C1E #1E8D9C
tetradic
#9C1E8D #9C6C1E #1E9C2D #1E4E9C
square
#9C1E8D #9C6C1E #1E9C2D #1E4E9C
split-complementary
#9C1E8D #4E9C1E #1E9C6C
monochromatic
#350A30 #69145F #9C1E8D #CF28BB #DE56CE

Accessibility & contrast

On white

7.04
#9C1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1E8D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1E8D#FFFFFF#000000##FFFFFF
##9C1E8D1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A42C55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c1e8d;
/* rgb */ color: rgb(156, 30, 141);
/* oklch */ color: oklch(48.9% 0.197 333.8);
Tailwind
colors: {
  custom: {
    50: '#bd6aaf',
    500: '#9c1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9c1e8d;
$custom-light: #bd6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1e8d",
  "rgb": {
    "r": 156,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 307.143,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.19663,
    "h": 333.8
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#9C1E8D
secondary
#54C261
accent
#EB523D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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