#9C2299#9C2299

#9C2299 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.202 H 329.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9C2299
RGBrgb(156, 34, 153)
HSLhsl(301, 64%, 37%)
HSVhsv(301, 78%, 61%)
CMYKcmyk(0%, 78.2%, 1.9%, 38.8%)
CIE-LABlab(38.75, 61.57, -37.33)
CIE-LCHlch(38.75, 72.00, 328.77°)
OKLaboklab(49.88% 0.1733 -0.1033)
OKLCHoklch(49.88% 0.202 329.2)
XYZxyz(20.0319, 10.5134, 31.1051)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2299 #229C25
analogous
#62229C #9C2299 #9C225C
triadic
#9C2299 #999C22 #22999C
tetradic
#9C2299 #9C6222 #229C25 #225C9C
square
#9C2299 #9C6222 #229C25 #225C9C
split-complementary
#9C2299 #5C9C22 #229C62
monochromatic
#380C36 #6A1768 #9C2299 #CE2DCA #DC5DD9

Accessibility & contrast

On white

6.77
#9C2299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C2299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2299
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2299#FFFFFF#000000##FFFFFF
##9C22991.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07519C
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#A2355D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2299;
/* rgb */ color: rgb(156, 34, 153);
/* oklch */ color: oklch(49.9% 0.202 329.2);
Tailwind
colors: {
  custom: {
    50: '#bd6cb7',
    500: '#9c2299',
    950: '#000000',
  },
}
SCSS
$custom: #9c2299;
$custom-light: #bd6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2299",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 301.475,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49876,
    "c": 0.20177,
    "h": 329.2
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#9C2299
secondary
#5AC05C
accent
#E74541
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2299

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

Preview Lab → · Contrast checker → · Palette generator →

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