#9A1D97#9A1D97

#9A1D97 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.204 H 329.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9A1D97
RGBrgb(154, 29, 151)
HSLhsl(301, 68%, 36%)
HSVhsv(301, 81%, 60%)
CMYKcmyk(0%, 81.2%, 1.9%, 39.6%)
CIE-LABlab(37.81, 62.19, -37.62)
CIE-LCHlch(37.81, 72.68, 328.83°)
OKLaboklab(49.11% 0.1751 -0.1042)
OKLCHoklch(49.11% 0.204 329.2)
XYZxyz(19.3516, 9.9846, 30.1802)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D97 #1D9A20
analogous
#5E1D9A #9A1D97 #9A1D58
triadic
#9A1D97 #979A1D #1D979A
tetradic
#9A1D97 #9A5E1D #1D9A20 #1D589A
square
#9A1D97 #9A5E1D #1D9A20 #1D589A
split-complementary
#9A1D97 #589A1D #1D9A5E
monochromatic
#330A32 #661365 #9A1D97 #CE27C9 #DF53DB

Accessibility & contrast

On white

7.01
#9A1D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9A1D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1D97
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D97#FFFFFF#000000##FFFFFF
##9A1D971.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#A0325B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a1d97;
/* rgb */ color: rgb(154, 29, 151);
/* oklch */ color: oklch(49.1% 0.204 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ab6',
    500: '#9a1d97',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d97;
$custom-light: #bc6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d97",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 301.44,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49108,
    "c": 0.20375,
    "h": 329.2
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#9A1D97
secondary
#51C254
accent
#EB413D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #9A1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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