#9C299F#9C299F

#9C299F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.199 H 326.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9C299F
RGBrgb(156, 41, 159)
HSLhsl(298, 59%, 39%)
HSVhsv(298, 74%, 62%)
CMYKcmyk(1.9%, 74.2%, 0%, 37.6%)
CIE-LABlab(39.85, 60.40, -39.21)
CIE-LCHlch(39.85, 72.01, 327.01°)
OKLaboklab(50.77% 0.1671 -0.1088)
OKLCHoklch(50.77% 0.199 326.9)
XYZxyz(20.7609, 11.1585, 33.8545)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C299F #2C9F29
analogous
#61299F #9C299F #9F2967
triadic
#9C299F #9F9C29 #299F9C
tetradic
#9C299F #9F6129 #2C9F29 #29679F
square
#9C299F #9F6129 #2C9F29 #29679F
split-complementary
#9C299F #679F29 #299F61
monochromatic
#3D103E #6C1C6E #9C299F #C839CC #D66AD9

Accessibility & contrast

On white

6.50
#9C299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C299F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C299F#FFFFFF#000000##FFFFFF
##9C299F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A55A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#A03C62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c299f;
/* rgb */ color: rgb(156, 41, 159);
/* oklch */ color: oklch(50.8% 0.199 326.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fbc',
    500: '#9c299f',
    950: '#000000',
  },
}
SCSS
$custom: #9c299f;
$custom-light: #bd6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c299f",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 298.475,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5077,
    "c": 0.1994,
    "h": 326.9
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#9C299F
secondary
#67BF65
accent
#E2464A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C299F

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

Preview Lab → · Contrast checker → · Palette generator →

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