#9A1D89#9A1D89

#9A1D89 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.194 H 334.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9A1D89
RGBrgb(154, 29, 137)
HSLhsl(308, 68%, 36%)
HSVhsv(308, 81%, 60%)
CMYKcmyk(0%, 81.2%, 11%, 39.6%)
CIE-LABlab(37.03, 60.02, -30.28)
CIE-LCHlch(37.03, 67.23, 333.23°)
OKLaboklab(48.3% 0.175 -0.083)
OKLCHoklch(48.3% 0.194 334.6)
XYZxyz(18.2814, 9.5566, 24.5439)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D89 #1D9A2E
analogous
#6C1D9A #9A1D89 #9A1D4A
triadic
#9A1D89 #899A1D #1D899A
tetradic
#9A1D89 #9A6C1D #1D9A2E #1D4A9A
square
#9A1D89 #9A6C1D #1D9A2E #1D4A9A
split-complementary
#9A1D89 #4A9A1D #1D9A6C
monochromatic
#330A2D #66135B #9A1D89 #CE27B7 #DF53CC

Accessibility & contrast

On white

7.21
#9A1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9A1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D89
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D89#FFFFFF#000000##FFFFFF
##9A1D891.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8C
Deuteranopia (green-blind)
#4C5D86
Tritanopia (blue-blind)
#A22A53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1d89;
/* rgb */ color: rgb(154, 29, 137);
/* oklch */ color: oklch(48.3% 0.194 334.6);
Tailwind
colors: {
  custom: {
    50: '#bc6aac',
    500: '#9a1d89',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d89;
$custom-light: #bc6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d89",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 308.16,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.483,
    "c": 0.19368,
    "h": 334.6
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#9A1D89
secondary
#51C260
accent
#EB543D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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