#9B1A88#9B1A88

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

Color values

HEX#9B1A88
RGBrgb(155, 26, 136)
HSLhsl(309, 71%, 35%)
HSVhsv(309, 83%, 61%)
CMYKcmyk(0%, 83.2%, 12.3%, 39.2%)
CIE-LABlab(36.90, 60.84, -29.85)
CIE-LCHlch(36.90, 67.77, 333.86°)
OKLaboklab(48.22% 0.1782 -0.0817)
OKLCHoklch(48.22% 0.196 335.4)
XYZxyz(18.3312, 9.4866, 24.1535)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A88 #1A9B2D
analogous
#6D1A9B #9B1A88 #9B1A47
triadic
#9B1A88 #889B1A #1A889B
tetradic
#9B1A88 #9B6D1A #1A9B2D #1A479B
square
#9B1A88 #9B6D1A #1A9B2D #1A479B
split-complementary
#9B1A88 #479B1A #1A9B6D
monochromatic
#32082C #67115A #9B1A88 #CF23B6 #E14ECC

Accessibility & contrast

On white

7.25
#9B1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9B1A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1A88
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A88#FFFFFF#000000##FFFFFF
##9B1A881.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#A32752
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1a88;
/* rgb */ color: rgb(155, 26, 136);
/* oklch */ color: oklch(48.2% 0.196 335.4);
Tailwind
colors: {
  custom: {
    50: '#bc69ab',
    500: '#9b1a88',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a88;
$custom-light: #bc69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a88",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 308.837,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.196,
    "h": 335.4
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#9B1A88
secondary
#4DC45F
accent
#EE543A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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