#9B188A#9B188A

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

Color values

HEX#9B188A
RGBrgb(155, 24, 138)
HSLhsl(308, 73%, 35%)
HSVhsv(308, 85%, 61%)
CMYKcmyk(0%, 84.5%, 11%, 39.2%)
CIE-LABlab(36.85, 61.60, -31.17)
CIE-LCHlch(36.85, 69.04, 333.16°)
OKLaboklab(48.22% 0.1796 -0.0855)
OKLCHoklch(48.22% 0.199 334.6)
XYZxyz(18.4319, 9.4585, 24.8948)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B188A #189B29
analogous
#6A189B #9B188A #9B1849
triadic
#9B188A #8A9B18 #188A9B
tetradic
#9B188A #9B6A18 #189B29 #18499B
square
#9B188A #9B6A18 #189B29 #18499B
split-complementary
#9B188A #499B18 #189B6A
monochromatic
#31082C #66105B #9B188A #D020B9 #E34ACF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B188A#FFFFFF#000000##FFFFFF
##9B188A1.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)
#154B8D
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#A32752
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b188a;
/* rgb */ color: rgb(155, 24, 138);
/* oklch */ color: oklch(48.2% 0.199 334.6);
Tailwind
colors: {
  custom: {
    50: '#bd68ac',
    500: '#9b188a',
    950: '#000000',
  },
}
SCSS
$custom: #9b188a;
$custom-light: #bd68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b188a",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 307.786,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48221,
    "c": 0.19891,
    "h": 334.6
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#9B188A
secondary
#4AC55A
accent
#F05038
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B188A

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

Preview Lab → · Contrast checker → · Palette generator →

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