#9A1D91#9A1D91

#9A1D91 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.199 H 331.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9A1D91
RGBrgb(154, 29, 145)
HSLhsl(304, 68%, 36%)
HSVhsv(304, 81%, 60%)
CMYKcmyk(0%, 81.2%, 5.8%, 39.6%)
CIE-LABlab(37.47, 61.24, -34.50)
CIE-LCHlch(37.47, 70.29, 330.60°)
OKLaboklab(48.75% 0.1752 -0.0952)
OKLCHoklch(48.75% 0.199 331.5)
XYZxyz(18.8766, 9.7947, 27.6789)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D91 #1D9A26
analogous
#641D9A #9A1D91 #9A1D52
triadic
#9A1D91 #919A1D #1D919A
tetradic
#9A1D91 #9A641D #1D9A26 #1D529A
square
#9A1D91 #9A641D #1D9A26 #1D529A
split-complementary
#9A1D91 #529A1D #1D9A64
monochromatic
#330A30 #661361 #9A1D91 #CE27C1 #DF53D5

Accessibility & contrast

On white

7.10
#9A1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9A1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D91
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D91#FFFFFF#000000##FFFFFF
##9A1D911.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D94
Deuteranopia (green-blind)
#485E8E
Tritanopia (blue-blind)
#A12F57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a1d91;
/* rgb */ color: rgb(154, 29, 145);
/* oklch */ color: oklch(48.8% 0.199 331.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ab2',
    500: '#9a1d91',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d91;
$custom-light: #bc6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d91",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 304.32,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.19938,
    "h": 331.5
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#9A1D91
secondary
#51C259
accent
#EB493D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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