#9B188D#9B188D

#9B188D is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.4% C 0.201 H 333.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9B188D
RGBrgb(155, 24, 141)
HSLhsl(306, 73%, 35%)
HSVhsv(306, 85%, 61%)
CMYKcmyk(0%, 84.5%, 9%, 39.2%)
CIE-LABlab(37.02, 62.04, -32.76)
CIE-LCHlch(37.02, 70.16, 332.16°)
OKLaboklab(48.39% 0.1797 -0.0901)
OKLCHoklch(48.39% 0.201 333.4)
XYZxyz(18.6521, 9.5466, 26.0545)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B188D #189B26
analogous
#67189B #9B188D #9B184C
triadic
#9B188D #8D9B18 #188D9B
tetradic
#9B188D #9B6718 #189B26 #184C9B
square
#9B188D #9B6718 #189B26 #184C9B
split-complementary
#9B188D #4C9B18 #189B67
monochromatic
#31082D #66105D #9B188D #D020BD #E34AD3

Accessibility & contrast

On white

7.22
#9B188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B188D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B188D#FFFFFF#000000##FFFFFF
##9B188D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#495D8A
Tritanopia (blue-blind)
#A22954
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b188d;
/* rgb */ color: rgb(155, 24, 141);
/* oklch */ color: oklch(48.4% 0.201 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd68af',
    500: '#9b188d',
    950: '#000000',
  },
}
SCSS
$custom: #9b188d;
$custom-light: #bd68af;
$custom-dark: #000000;
JSON
{
  "hex": "#9b188d",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 306.412,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.20099,
    "h": 333.4
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#9B188D
secondary
#4AC557
accent
#F04C38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B188D

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

Preview Lab → · Contrast checker → · Palette generator →

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