#9C299C#9C299C

#9C299C is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.197 H 328.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9C299C
RGBrgb(156, 41, 156)
HSLhsl(300, 58%, 39%)
HSVhsv(300, 74%, 61%)
CMYKcmyk(0%, 73.7%, 0%, 38.8%)
CIE-LABlab(39.67, 59.90, -37.67)
CIE-LCHlch(39.67, 70.76, 327.83°)
OKLaboklab(50.59% 0.1671 -0.1044)
OKLCHoklch(50.59% 0.197 328)
XYZxyz(20.5037, 11.0556, 32.5001)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C299C #299C29
analogous
#62299C #9C299C #9C2962
triadic
#9C299C #9C9C29 #299C9C
tetradic
#9C299C #9C6229 #299C29 #29629C
square
#9C299C #9C6229 #299C29 #29629C
split-complementary
#9C299C #629C29 #299C62
monochromatic
#3B103B #6C1C6C #9C299C #CB38CB #D768D7

Accessibility & contrast

On white

6.54
#9C299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9C299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C299C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C299C#FFFFFF#000000##FFFFFF
##9C299C1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12549F
Deuteranopia (green-blind)
#486399
Tritanopia (blue-blind)
#A13B60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c299c;
/* rgb */ color: rgb(156, 41, 156);
/* oklch */ color: oklch(50.6% 0.197 328.0);
Tailwind
colors: {
  custom: {
    50: '#bd6fba',
    500: '#9c299c',
    950: '#000000',
  },
}
SCSS
$custom: #9c299c;
$custom-light: #bd6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c299c",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50592,
    "c": 0.19704,
    "h": 328
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#9C299C
secondary
#63BE63
accent
#E24646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C299C

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

Preview Lab → · Contrast checker → · Palette generator →

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