#99178C#99178C

#99178C is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 47.9% C 0.200 H 333.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#99178C
RGBrgb(153, 23, 140)
HSLhsl(306, 74%, 35%)
HSVhsv(306, 85%, 60%)
CMYKcmyk(0%, 85%, 8.5%, 40%)
CIE-LABlab(36.52, 61.70, -32.96)
CIE-LCHlch(36.52, 69.95, 331.89°)
OKLaboklab(47.95% 0.1783 -0.0907)
OKLCHoklch(47.95% 0.2 333.1)
XYZxyz(18.1770, 9.2802, 25.6398)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99178C #179924
analogous
#651799 #99178C #99174B
triadic
#99178C #8C9917 #178C99
tetradic
#99178C #996517 #179924 #174B99
square
#99178C #996517 #179924 #174B99
split-complementary
#99178C #4B9917 #179965
monochromatic
#2F072B #640F5B #99178C #CE1FBD #E347D4

Accessibility & contrast

On white

7.35
#99178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#99178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99178C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99178C#FFFFFF#000000##FFFFFF
##99178C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8F
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#A02953
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #99178c;
/* rgb */ color: rgb(153, 23, 140);
/* oklch */ color: oklch(47.9% 0.200 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb68ae',
    500: '#99178c',
    950: '#000000',
  },
}
SCSS
$custom: #99178c;
$custom-light: #bb68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#99178c",
  "rgb": {
    "r": 153,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 306,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.20006,
    "h": 333.1
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#99178C
secondary
#47C554
accent
#F14A37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #99178C

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

Preview Lab → · Contrast checker → · Palette generator →

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