#9C2295#9C2295

#9C2295 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 330.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9C2295
RGBrgb(156, 34, 149)
HSLhsl(303, 64%, 37%)
HSVhsv(303, 78%, 61%)
CMYKcmyk(0%, 78.2%, 4.5%, 38.8%)
CIE-LABlab(38.52, 60.93, -35.26)
CIE-LCHlch(38.52, 70.39, 329.94°)
OKLaboklab(49.64% 0.1733 -0.0973)
OKLCHoklch(49.64% 0.199 330.7)
XYZxyz(19.7071, 10.3835, 29.3942)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2295 #229C29
analogous
#66229C #9C2295 #9C2258
triadic
#9C2295 #959C22 #22959C
tetradic
#9C2295 #9C6622 #229C29 #22589C
square
#9C2295 #9C6622 #229C29 #22589C
split-complementary
#9C2295 #589C22 #229C66
monochromatic
#380C35 #6A1765 #9C2295 #CE2DC5 #DC5DD4

Accessibility & contrast

On white

6.83
#9C2295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9C2295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2295
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2295#FFFFFF#000000##FFFFFF
##9C22951.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125098
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A2335B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2295;
/* rgb */ color: rgb(156, 34, 149);
/* oklch */ color: oklch(49.6% 0.199 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd6cb4',
    500: '#9c2295',
    950: '#000000',
  },
}
SCSS
$custom: #9c2295;
$custom-light: #bd6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2295",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 303.443,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.19877,
    "h": 330.7
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#9C2295
secondary
#5AC060
accent
#E74A41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2295

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

Preview Lab → · Contrast checker → · Palette generator →

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