#9A1C8B#9A1C8B

#9A1C8B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 333.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9A1C8B
RGBrgb(154, 28, 139)
HSLhsl(307, 69%, 36%)
HSVhsv(307, 82%, 60%)
CMYKcmyk(0%, 81.8%, 9.7%, 39.6%)
CIE-LABlab(37.05, 60.58, -31.48)
CIE-LCHlch(37.05, 68.27, 332.54°)
OKLaboklab(48.35% 0.1759 -0.0864)
OKLCHoklch(48.35% 0.196 333.8)
XYZxyz(18.4021, 9.5663, 25.2984)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C8B #1C9A2B
analogous
#6A1C9A #9A1C8B #9A1C4C
triadic
#9A1C8B #8B9A1C #1C8B9A
tetradic
#9A1C8B #9A6A1C #1C9A2B #1C4C9A
square
#9A1C8B #9A6A1C #1C9A2B #1C4C9A
split-complementary
#9A1C8B #4C9A1C #1C9A6A
monochromatic
#32092E #66135C #9A1C8B #CE25BA #DF51CE

Accessibility & contrast

On white

7.21
#9A1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9A1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1C8B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C8B#FFFFFF#000000##FFFFFF
##9A1C8B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#4B5D88
Tritanopia (blue-blind)
#A12A54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1c8b;
/* rgb */ color: rgb(154, 28, 139);
/* oklch */ color: oklch(48.3% 0.196 333.8);
Tailwind
colors: {
  custom: {
    50: '#bc69ad',
    500: '#9a1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c8b;
$custom-light: #bc69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c8b",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 307.143,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.19594,
    "h": 333.8
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#9A1C8B
secondary
#50C25D
accent
#EC513C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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