#9B188E#9B188E

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

Color values

HEX#9B188E
RGBrgb(155, 24, 142)
HSLhsl(306, 73%, 35%)
HSVhsv(306, 85%, 61%)
CMYKcmyk(0%, 84.5%, 8.4%, 39.2%)
CIE-LABlab(37.07, 62.19, -33.29)
CIE-LCHlch(37.07, 70.54, 331.84°)
OKLaboklab(48.45% 0.1797 -0.0916)
OKLCHoklch(48.45% 0.202 333)
XYZxyz(18.7268, 9.5765, 26.4481)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B188E #189B25
analogous
#66189B #9B188E #9B184D
triadic
#9B188E #8E9B18 #188E9B
tetradic
#9B188E #9B6618 #189B25 #184D9B
square
#9B188E #9B6618 #189B25 #184D9B
split-complementary
#9B188E #4D9B18 #189B66
monochromatic
#31082D #66105D #9B188E #D020BF #E34AD4

Accessibility & contrast

On white

7.20
#9B188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B188E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B188E#FFFFFF#000000##FFFFFF
##9B188E1.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C91
Deuteranopia (green-blind)
#495E8B
Tritanopia (blue-blind)
#A22A55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b188e;
/* rgb */ color: rgb(155, 24, 142);
/* oklch */ color: oklch(48.4% 0.202 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd68af',
    500: '#9b188e',
    950: '#000000',
  },
}
SCSS
$custom: #9b188e;
$custom-light: #bd68af;
$custom-dark: #000000;
JSON
{
  "hex": "#9b188e",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 305.954,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.20168,
    "h": 333
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#9B188E
secondary
#4AC556
accent
#F04A38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B188E

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

Preview Lab → · Contrast checker → · Palette generator →

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