#9C299A#9C299A

#9C299A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.195 H 328.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9C299A
RGBrgb(156, 41, 154)
HSLhsl(301, 58%, 39%)
HSVhsv(301, 74%, 61%)
CMYKcmyk(0%, 73.7%, 1.3%, 38.8%)
CIE-LABlab(39.56, 59.56, -36.64)
CIE-LCHlch(39.56, 69.93, 328.40°)
OKLaboklab(50.48% 0.1671 -0.1014)
OKLCHoklch(50.48% 0.195 328.8)
XYZxyz(20.3358, 10.9884, 31.6155)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C299A #299C2B
analogous
#64299C #9C299A #9C2960
triadic
#9C299A #9A9C29 #299A9C
tetradic
#9C299A #9C6429 #299C2B #29609C
square
#9C299A #9C6429 #299C2B #29609C
split-complementary
#9C299A #609C29 #299C64
monochromatic
#3B103A #6C1C6A #9C299A #CB38C8 #D768D5

Accessibility & contrast

On white

6.57
#9C299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9C299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C299A
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C299A#FFFFFF#000000##FFFFFF
##9C299A1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#A13A5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c299a;
/* rgb */ color: rgb(156, 41, 154);
/* oklch */ color: oklch(50.5% 0.195 328.8);
Tailwind
colors: {
  custom: {
    50: '#bd6fb8',
    500: '#9c299a',
    950: '#000000',
  },
}
SCSS
$custom: #9c299a;
$custom-light: #bd6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c299a",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 301.043,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50475,
    "c": 0.19547,
    "h": 328.8
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#9C299A
secondary
#63BE65
accent
#E24946
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C299A

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

Preview Lab → · Contrast checker → · Palette generator →

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