#99178B#99178B

#99178B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.9% C 0.199 H 333.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#99178B
RGBrgb(153, 23, 139)
HSLhsl(306, 74%, 35%)
HSVhsv(306, 85%, 60%)
CMYKcmyk(0%, 85%, 9.2%, 40%)
CIE-LABlab(36.46, 61.55, -32.43)
CIE-LCHlch(36.46, 69.57, 332.22°)
OKLaboklab(47.89% 0.1783 -0.0891)
OKLCHoklch(47.89% 0.199 333.4)
XYZxyz(18.1036, 9.2508, 25.2532)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99178B #179925
analogous
#661799 #99178B #99174A
triadic
#99178B #8B9917 #178B99
tetradic
#99178B #996617 #179925 #174A99
square
#99178B #996617 #179925 #174A99
split-complementary
#99178B #4A9917 #179966
monochromatic
#2F072A #640F5B #99178B #CE1FBB #E347D3

Accessibility & contrast

On white

7.37
#99178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#99178B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99178B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99178B#FFFFFF#000000##FFFFFF
##99178B1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8E
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#A02853
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #99178b;
/* rgb */ color: rgb(153, 23, 139);
/* oklch */ color: oklch(47.9% 0.199 333.4);
Tailwind
colors: {
  custom: {
    50: '#bb68ad',
    500: '#99178b',
    950: '#000000',
  },
}
SCSS
$custom: #99178b;
$custom-light: #bb68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#99178b",
  "rgb": {
    "r": 153,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 306.462,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47893,
    "c": 0.19937,
    "h": 333.4
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#99178B
secondary
#47C555
accent
#F14B37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #99178B

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

Preview Lab → · Contrast checker → · Palette generator →

#99178B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva