#9A1B89#9A1B89

#9A1B89 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.195 H 334.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9A1B89
RGBrgb(154, 27, 137)
HSLhsl(308, 70%, 35%)
HSVhsv(308, 82%, 60%)
CMYKcmyk(0%, 82.5%, 11%, 39.6%)
CIE-LABlab(36.86, 60.53, -30.56)
CIE-LCHlch(36.86, 67.81, 333.21°)
OKLaboklab(48.17% 0.1765 -0.0837)
OKLCHoklch(48.17% 0.195 334.6)
XYZxyz(18.2339, 9.4617, 24.5280)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1B89 #1B9A2C
analogous
#6B1B9A #9A1B89 #9A1B4A
triadic
#9A1B89 #899A1B #1B899A
tetradic
#9A1B89 #9A6B1B #1B9A2C #1B4A9A
square
#9A1B89 #9A6B1B #1B9A2C #1B4A9A
split-complementary
#9A1B89 #4A9A1B #1B9A6B
monochromatic
#32092C #66125B #9A1B89 #CE24B7 #E04FCD

Accessibility & contrast

On white

7.26
#9A1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9A1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1B89
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1B89#FFFFFF#000000##FFFFFF
##9A1B891.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#A22952
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1b89;
/* rgb */ color: rgb(154, 27, 137);
/* oklch */ color: oklch(48.2% 0.195 334.6);
Tailwind
colors: {
  custom: {
    50: '#bc69ac',
    500: '#9a1b89',
    950: '#000000',
  },
}
SCSS
$custom: #9a1b89;
$custom-light: #bc69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1b89",
  "rgb": {
    "r": 154,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 308.031,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.19537,
    "h": 334.6
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#9A1B89
secondary
#4EC35E
accent
#ED533B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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