#9A1C8E#9A1C8E

#9A1C8E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 332.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9A1C8E
RGBrgb(154, 28, 142)
HSLhsl(306, 69%, 36%)
HSVhsv(306, 82%, 60%)
CMYKcmyk(0%, 81.8%, 7.8%, 39.6%)
CIE-LABlab(37.22, 61.03, -33.07)
CIE-LCHlch(37.22, 69.42, 331.55°)
OKLaboklab(48.52% 0.1759 -0.091)
OKLCHoklch(48.52% 0.198 332.6)
XYZxyz(18.6243, 9.6552, 26.4687)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C8E #1C9A28
analogous
#671C9A #9A1C8E #9A1C4F
triadic
#9A1C8E #8E9A1C #1C8E9A
tetradic
#9A1C8E #9A671C #1C9A28 #1C4F9A
square
#9A1C8E #9A671C #1C9A28 #1C4F9A
split-complementary
#9A1C8E #4F9A1C #1C9A67
monochromatic
#32092F #66135E #9A1C8E #CE25BE #DF51D2

Accessibility & contrast

On white

7.17
#9A1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9A1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1C8E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C8E#FFFFFF#000000##FFFFFF
##9A1C8E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#495E8B
Tritanopia (blue-blind)
#A12C55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a1c8e;
/* rgb */ color: rgb(154, 28, 142);
/* oklch */ color: oklch(48.5% 0.198 332.6);
Tailwind
colors: {
  custom: {
    50: '#bc69af',
    500: '#9a1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c8e;
$custom-light: #bc69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c8e",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 305.714,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.19806,
    "h": 332.6
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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