#9A1C8F#9A1C8F

#9A1C8F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 332.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9A1C8F
RGBrgb(154, 28, 143)
HSLhsl(305, 69%, 36%)
HSVhsv(305, 82%, 60%)
CMYKcmyk(0%, 81.8%, 7.1%, 39.6%)
CIE-LABlab(37.27, 61.19, -33.59)
CIE-LCHlch(37.27, 69.80, 331.23°)
OKLaboklab(48.58% 0.1759 -0.0925)
OKLCHoklch(48.58% 0.199 332.3)
XYZxyz(18.6997, 9.6853, 26.8659)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C8F #1C9A27
analogous
#661C9A #9A1C8F #9A1C50
triadic
#9A1C8F #8F9A1C #1C8F9A
tetradic
#9A1C8F #9A661C #1C9A27 #1C509A
square
#9A1C8F #9A661C #1C9A27 #1C509A
split-complementary
#9A1C8F #509A1C #1C9A66
monochromatic
#32092F #66135F #9A1C8F #CE25BF #DF51D3

Accessibility & contrast

On white

7.15
#9A1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9A1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1C8F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C8F#FFFFFF#000000##FFFFFF
##9A1C8F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#A12D56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a1c8f;
/* rgb */ color: rgb(154, 28, 143);
/* oklch */ color: oklch(48.6% 0.199 332.3);
Tailwind
colors: {
  custom: {
    50: '#bc6ab0',
    500: '#9a1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c8f;
$custom-light: #bc6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c8f",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 305.238,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.19877,
    "h": 332.3
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#9A1C8F
secondary
#50C25A
accent
#EC4B3C
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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