#9B188F#9B188F

#9B188F is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.202 H 332.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9B188F
RGBrgb(155, 24, 143)
HSLhsl(305, 73%, 35%)
HSVhsv(305, 85%, 61%)
CMYKcmyk(0%, 84.5%, 7.7%, 39.2%)
CIE-LABlab(37.13, 62.34, -33.81)
CIE-LCHlch(37.13, 70.92, 331.53°)
OKLaboklab(48.51% 0.1797 -0.0931)
OKLCHoklch(48.51% 0.202 332.6)
XYZxyz(18.8022, 9.6067, 26.8453)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B188F #189B24
analogous
#65189B #9B188F #9B184E
triadic
#9B188F #8F9B18 #188F9B
tetradic
#9B188F #9B6518 #189B24 #184E9B
square
#9B188F #9B6518 #189B24 #184E9B
split-complementary
#9B188F #4E9B18 #189B65
monochromatic
#31082D #66105E #9B188F #D020C0 #E34AD5

Accessibility & contrast

On white

7.19
#9B188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9B188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B188F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B188F#FFFFFF#000000##FFFFFF
##9B188F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#485E8C
Tritanopia (blue-blind)
#A22A55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b188f;
/* rgb */ color: rgb(155, 24, 143);
/* oklch */ color: oklch(48.5% 0.202 332.6);
Tailwind
colors: {
  custom: {
    50: '#bd69b0',
    500: '#9b188f',
    950: '#000000',
  },
}
SCSS
$custom: #9b188f;
$custom-light: #bd69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b188f",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 305.496,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.20238,
    "h": 332.6
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#9B188F
secondary
#4AC555
accent
#F04938
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B188F

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

Preview Lab → · Contrast checker → · Palette generator →

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