#9A1A9F#9A1A9F

#9A1A9F is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.212 H 326.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9A1A9F
RGBrgb(154, 26, 159)
HSLhsl(298, 72%, 36%)
HSVhsv(298, 84%, 62%)
CMYKcmyk(3.1%, 83.6%, 0%, 37.6%)
CIE-LABlab(38.05, 64.21, -42.10)
CIE-LCHlch(38.05, 76.78, 326.75°)
OKLaboklab(49.43% 0.1767 -0.1172)
OKLCHoklch(49.43% 0.212 326.4)
XYZxyz(19.9535, 10.1135, 33.6953)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1A9F #1F9F1A
analogous
#581A9F #9A1A9F #9F1A62
triadic
#9A1A9F #9F9A1A #1A9F9A
tetradic
#9A1A9F #9F581A #1F9F1A #1A629F
square
#9A1A9F #9F581A #1F9F1A #1A629F
split-complementary
#9A1A9F #629F1A #1A9F58
monochromatic
#340936 #67116A #9A1A9F #CD23D4 #DD51E3

Accessibility & contrast

On white

6.95
#9A1A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A1A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1A9F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1A9F#FFFFFF#000000##FFFFFF
##9A1A9F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#3E5F9C
Tritanopia (blue-blind)
#9E355F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a1a9f;
/* rgb */ color: rgb(154, 26, 159);
/* oklch */ color: oklch(49.4% 0.212 326.4);
Tailwind
colors: {
  custom: {
    50: '#bc6abc',
    500: '#9a1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1a9f;
$custom-light: #bc6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1a9f",
  "rgb": {
    "r": 154,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 297.744,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.21205,
    "h": 326.4
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#9A1A9F
secondary
#54C550
accent
#EF3940
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9A1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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