#9C2293#9C2293

#9C2293 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.197 H 331.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9C2293
RGBrgb(156, 34, 147)
HSLhsl(304, 64%, 37%)
HSVhsv(304, 78%, 61%)
CMYKcmyk(0%, 78.2%, 5.8%, 38.8%)
CIE-LABlab(38.41, 60.61, -34.21)
CIE-LCHlch(38.41, 69.60, 330.56°)
OKLaboklab(49.53% 0.1733 -0.0943)
OKLCHoklch(49.53% 0.197 331.4)
XYZxyz(19.5488, 10.3202, 28.5605)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2293 #229C2B
analogous
#68229C #9C2293 #9C2256
triadic
#9C2293 #939C22 #22939C
tetradic
#9C2293 #9C6822 #229C2B #22569C
square
#9C2293 #9C6822 #229C2B #22569C
split-complementary
#9C2293 #569C22 #229C68
monochromatic
#380C34 #6A1764 #9C2293 #CE2DC2 #DC5DD2

Accessibility & contrast

On white

6.85
#9C2293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C2293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2293
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2293#FFFFFF#000000##FFFFFF
##9C22931.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155096
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A3325A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2293;
/* rgb */ color: rgb(156, 34, 147);
/* oklch */ color: oklch(49.5% 0.197 331.4);
Tailwind
colors: {
  custom: {
    50: '#bd6cb3',
    500: '#9c2293',
    950: '#000000',
  },
}
SCSS
$custom: #9c2293;
$custom-light: #bd6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2293",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 304.426,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.1973,
    "h": 331.4
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

primary
#9C2293
secondary
#5AC061
accent
#E74D41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2293

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

Preview Lab → · Contrast checker → · Palette generator →

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