#9C2899#9C2899

#9C2899 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.196 H 329.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C2899
RGBrgb(156, 40, 153)
HSLhsl(302, 59%, 38%)
HSVhsv(302, 74%, 61%)
CMYKcmyk(0%, 74.4%, 1.9%, 38.8%)
CIE-LABlab(39.39, 59.73, -36.31)
CIE-LCHlch(39.39, 69.90, 328.70°)
OKLaboklab(50.33% 0.1681 -0.1004)
OKLCHoklch(50.33% 0.196 329.1)
XYZxyz(20.2187, 10.8869, 31.1673)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2899 #289C2B
analogous
#65289C #9C2899 #9C285F
triadic
#9C2899 #999C28 #28999C
tetradic
#9C2899 #9C6528 #289C2B #285F9C
square
#9C2899 #9C6528 #289C2B #285F9C
split-complementary
#9C2899 #5F9C28 #289C65
monochromatic
#3B0F39 #6B1C69 #9C2899 #CB36C8 #D867D5

Accessibility & contrast

On white

6.61
#9C2899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9C2899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2899
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2899#FFFFFF#000000##FFFFFF
##9C28991.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15539C
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#A1395E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2899;
/* rgb */ color: rgb(156, 40, 153);
/* oklch */ color: oklch(50.3% 0.196 329.1);
Tailwind
colors: {
  custom: {
    50: '#bd6fb7',
    500: '#9c2899',
    950: '#000000',
  },
}
SCSS
$custom: #9c2899;
$custom-light: #bd6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2899",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 301.552,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50334,
    "c": 0.19577,
    "h": 329.1
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#9C2899
secondary
#62BE64
accent
#E24945
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2899

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

Preview Lab → · Contrast checker → · Palette generator →

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