#9C299B#9C299B

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

Color values

HEX#9C299B
RGBrgb(156, 41, 155)
HSLhsl(301, 58%, 39%)
HSVhsv(301, 74%, 61%)
CMYKcmyk(0%, 73.7%, 0.6%, 38.8%)
CIE-LABlab(39.62, 59.73, -37.16)
CIE-LCHlch(39.62, 70.34, 328.11°)
OKLaboklab(50.53% 0.1671 -0.1029)
OKLCHoklch(50.53% 0.196 328.4)
XYZxyz(20.4194, 11.0219, 32.0559)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C299B #299C2A
analogous
#63299C #9C299B #9C2961
triadic
#9C299B #9B9C29 #299B9C
tetradic
#9C299B #9C6329 #299C2A #29619C
square
#9C299B #9C6329 #299C2A #29619C
split-complementary
#9C299B #619C29 #299C63
monochromatic
#3B103B #6C1C6B #9C299B #CB38C9 #D768D6

Accessibility & contrast

On white

6.55
#9C299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C299B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C299B#FFFFFF#000000##FFFFFF
##9C299B1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#496398
Tritanopia (blue-blind)
#A13A60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c299b;
/* rgb */ color: rgb(156, 41, 155);
/* oklch */ color: oklch(50.5% 0.196 328.4);
Tailwind
colors: {
  custom: {
    50: '#bd6fb9',
    500: '#9c299b',
    950: '#000000',
  },
}
SCSS
$custom: #9c299b;
$custom-light: #bd6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c299b",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 300.522,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.19625,
    "h": 328.4
  },
  "luminance": 0.1102
}

Semantic roles & 50–950 ramp

primary
#9C299B
secondary
#63BE64
accent
#E24846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C299B

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

Preview Lab → · Contrast checker → · Palette generator →

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