#9B188B#9B188B

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

Color values

HEX#9B188B
RGBrgb(155, 24, 139)
HSLhsl(307, 73%, 35%)
HSVhsv(307, 85%, 61%)
CMYKcmyk(0%, 84.5%, 10.3%, 39.2%)
CIE-LABlab(36.91, 61.74, -31.70)
CIE-LCHlch(36.91, 69.41, 332.82°)
OKLaboklab(48.28% 0.1796 -0.087)
OKLCHoklch(48.28% 0.2 334.2)
XYZxyz(18.5046, 9.4876, 25.2778)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B188B #189B28
analogous
#69189B #9B188B #9B184A
triadic
#9B188B #8B9B18 #188B9B
tetradic
#9B188B #9B6918 #189B28 #184A9B
square
#9B188B #9B6918 #189B28 #184A9B
split-complementary
#9B188B #4A9B18 #189B69
monochromatic
#31082C #66105B #9B188B #D020BB #E34AD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B188B#FFFFFF#000000##FFFFFF
##9B188B1.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)
#134B8E
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#A32853
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b188b;
/* rgb */ color: rgb(155, 24, 139);
/* oklch */ color: oklch(48.3% 0.200 334.2);
Tailwind
colors: {
  custom: {
    50: '#bd68ad',
    500: '#9b188b',
    950: '#000000',
  },
}
SCSS
$custom: #9b188b;
$custom-light: #bd68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b188b",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 307.328,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.1996,
    "h": 334.2
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#9B188B
secondary
#4AC559
accent
#F04E38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B188B

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

Preview Lab → · Contrast checker → · Palette generator →

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