#9C299D#9C299D

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

Color values

HEX#9C299D
RGBrgb(156, 41, 157)
HSLhsl(299, 59%, 39%)
HSVhsv(299, 74%, 62%)
CMYKcmyk(0.6%, 73.9%, 0%, 38.4%)
CIE-LABlab(39.73, 60.07, -38.18)
CIE-LCHlch(39.73, 71.18, 327.56°)
OKLaboklab(50.65% 0.1671 -0.1059)
OKLCHoklch(50.65% 0.198 327.6)
XYZxyz(20.5888, 11.0896, 32.9479)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C299D #2A9D29
analogous
#62299D #9C299D #9D2964
triadic
#9C299D #9D9C29 #299D9C
tetradic
#9C299D #9D6229 #2A9D29 #29649D
square
#9C299D #9D6229 #2A9D29 #29649D
split-complementary
#9C299D #649D29 #299D62
monochromatic
#3C103C #6C1C6C #9C299D #CA38CB #D769D8

Accessibility & contrast

On white

6.53
#9C299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C299D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C299D#FFFFFF#000000##FFFFFF
##9C299D1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F54A0
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#A13B61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c299d;
/* rgb */ color: rgb(156, 41, 157);
/* oklch */ color: oklch(50.7% 0.198 327.6);
Tailwind
colors: {
  custom: {
    50: '#bd6fba',
    500: '#9c299d',
    950: '#000000',
  },
}
SCSS
$custom: #9c299d;
$custom-light: #bd6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c299d",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 299.483,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.19782,
    "h": 327.6
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#9C299D
secondary
#65BE64
accent
#E24647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C299D

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

Preview Lab → · Contrast checker → · Palette generator →

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