#9B1888#9B1888

#9B1888 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.198 H 335.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9B1888
RGBrgb(155, 24, 136)
HSLhsl(309, 73%, 35%)
HSVhsv(309, 85%, 61%)
CMYKcmyk(0%, 84.5%, 12.3%, 39.2%)
CIE-LABlab(36.75, 61.31, -30.11)
CIE-LCHlch(36.75, 68.30, 333.85°)
OKLaboklab(48.11% 0.1795 -0.0824)
OKLCHoklch(48.11% 0.198 335.3)
XYZxyz(18.2884, 9.4011, 24.1392)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1888 #189B2B
analogous
#6C189B #9B1888 #9B1847
triadic
#9B1888 #889B18 #18889B
tetradic
#9B1888 #9B6C18 #189B2B #18479B
square
#9B1888 #9B6C18 #189B2B #18479B
split-complementary
#9B1888 #479B18 #189B6C
monochromatic
#31082B #66105A #9B1888 #D020B6 #E34ACD

Accessibility & contrast

On white

7.29
#9B1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B1888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1888
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1888#FFFFFF#000000##FFFFFF
##9B18881.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#A32651
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1888;
/* rgb */ color: rgb(155, 24, 136);
/* oklch */ color: oklch(48.1% 0.198 335.3);
Tailwind
colors: {
  custom: {
    50: '#bd68ab',
    500: '#9b1888',
    950: '#000000',
  },
}
SCSS
$custom: #9b1888;
$custom-light: #bd68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1888",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 308.702,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.19755,
    "h": 335.3
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#9B1888
secondary
#4AC55C
accent
#F05338
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1888

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

Preview Lab → · Contrast checker → · Palette generator →

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