#9A1C8D#9A1C8D

#9A1C8D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.5% C 0.197 H 333.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9A1C8D
RGBrgb(154, 28, 141)
HSLhsl(306, 69%, 36%)
HSVhsv(306, 82%, 60%)
CMYKcmyk(0%, 81.8%, 8.4%, 39.6%)
CIE-LABlab(37.16, 60.88, -32.54)
CIE-LCHlch(37.16, 69.03, 331.87°)
OKLaboklab(48.46% 0.1759 -0.0895)
OKLCHoklch(48.46% 0.197 333)
XYZxyz(18.5495, 9.6253, 26.0751)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C8D #1C9A29
analogous
#681C9A #9A1C8D #9A1C4E
triadic
#9A1C8D #8D9A1C #1C8D9A
tetradic
#9A1C8D #9A681C #1C9A29 #1C4E9A
square
#9A1C8D #9A681C #1C9A29 #1C4E9A
split-complementary
#9A1C8D #4E9A1C #1C9A68
monochromatic
#32092E #66135E #9A1C8D #CE25BC #DF51D1

Accessibility & contrast

On white

7.18
#9A1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9A1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1C8D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C8D#FFFFFF#000000##FFFFFF
##9A1C8D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#A12C55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1c8d;
/* rgb */ color: rgb(154, 28, 141);
/* oklch */ color: oklch(48.5% 0.197 333.0);
Tailwind
colors: {
  custom: {
    50: '#bc69af',
    500: '#9a1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c8d;
$custom-light: #bc69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c8d",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 306.19,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4846,
    "c": 0.19735,
    "h": 333
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#9A1C8D
secondary
#50C25B
accent
#EC4E3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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