#9C299E#9C299E

#9C299E is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.199 H 327.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9C299E
RGBrgb(156, 41, 158)
HSLhsl(299, 59%, 39%)
HSVhsv(299, 74%, 62%)
CMYKcmyk(1.3%, 74.1%, 0%, 38%)
CIE-LABlab(39.79, 60.23, -38.70)
CIE-LCHlch(39.79, 71.59, 327.28°)
OKLaboklab(50.71% 0.1671 -0.1073)
OKLCHoklch(50.71% 0.199 327.3)
XYZxyz(20.6745, 11.1239, 33.3993)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C299E #2B9E29
analogous
#62299E #9C299E #9E2966
triadic
#9C299E #9E9C29 #299E9C
tetradic
#9C299E #9E6229 #2B9E29 #29669E
square
#9C299E #9E6229 #2B9E29 #29669E
split-complementary
#9C299E #669E29 #299E62
monochromatic
#3C103D #6C1C6D #9C299E #C939CC #D669D8

Accessibility & contrast

On white

6.51
#9C299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9C299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C299E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C299E#FFFFFF#000000##FFFFFF
##9C299E1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#A13C61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c299e;
/* rgb */ color: rgb(156, 41, 158);
/* oklch */ color: oklch(50.7% 0.199 327.3);
Tailwind
colors: {
  custom: {
    50: '#bd6fbb',
    500: '#9c299e',
    950: '#000000',
  },
}
SCSS
$custom: #9c299e;
$custom-light: #bd6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c299e",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 298.974,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.19861,
    "h": 327.3
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#9C299E
secondary
#66BF64
accent
#E24648
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C299E

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

Preview Lab → · Contrast checker → · Palette generator →

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