#9A1A91#9A1A91

#9A1A91 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.202 H 331.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9A1A91
RGBrgb(154, 26, 145)
HSLhsl(304, 71%, 35%)
HSVhsv(304, 83%, 60%)
CMYKcmyk(0%, 83.1%, 5.8%, 39.6%)
CIE-LABlab(37.22, 61.98, -34.91)
CIE-LCHlch(37.22, 71.14, 330.61°)
OKLaboklab(48.57% 0.1774 -0.0963)
OKLCHoklch(48.57% 0.202 331.5)
XYZxyz(18.8067, 9.6547, 27.6556)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1A91 #1A9A23
analogous
#631A9A #9A1A91 #9A1A51
triadic
#9A1A91 #919A1A #1A919A
tetradic
#9A1A91 #9A631A #1A9A23 #1A519A
square
#9A1A91 #9A631A #1A9A23 #1A519A
split-complementary
#9A1A91 #519A1A #1A9A63
monochromatic
#31082E #661160 #9A1A91 #CE23C2 #E14DD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A1A91#FFFFFF#000000##FFFFFF
##9A1A911.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)
#074C94
Deuteranopia (green-blind)
#475E8E
Tritanopia (blue-blind)
#A12D57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a1a91;
/* rgb */ color: rgb(154, 26, 145);
/* oklch */ color: oklch(48.6% 0.202 331.5);
Tailwind
colors: {
  custom: {
    50: '#bc69b2',
    500: '#9a1a91',
    950: '#000000',
  },
}
SCSS
$custom: #9a1a91;
$custom-light: #bc69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1a91",
  "rgb": {
    "r": 154,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 304.219,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.20181,
    "h": 331.5
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#9A1A91
secondary
#4DC355
accent
#EE473A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1A91

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

Preview Lab → · Contrast checker → · Palette generator →

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