#9C2393#9C2393

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

Color values

HEX#9C2393
RGBrgb(156, 35, 147)
HSLhsl(304, 63%, 37%)
HSVhsv(304, 78%, 61%)
CMYKcmyk(0%, 77.6%, 5.8%, 38.8%)
CIE-LABlab(38.51, 60.32, -34.05)
CIE-LCHlch(38.51, 69.27, 330.55°)
OKLaboklab(49.6% 0.1725 -0.0938)
OKLCHoklch(49.6% 0.196 331.4)
XYZxyz(19.5778, 10.3782, 28.5702)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2393 #239C2C
analogous
#69239C #9C2393 #9C2356
triadic
#9C2393 #939C23 #23939C
tetradic
#9C2393 #9C6923 #239C2C #23569C
square
#9C2393 #9C6923 #239C2C #23569C
split-complementary
#9C2393 #569C23 #239C69
monochromatic
#380D35 #6A1864 #9C2393 #CE2EC2 #DB5ED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2393#FFFFFF#000000##FFFFFF
##9C23931.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)
#175096
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#A3335A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2393;
/* rgb */ color: rgb(156, 35, 147);
/* oklch */ color: oklch(49.6% 0.196 331.4);
Tailwind
colors: {
  custom: {
    50: '#bd6cb3',
    500: '#9c2393',
    950: '#000000',
  },
}
SCSS
$custom: #9c2393;
$custom-light: #bd6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2393",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 304.463,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49599,
    "c": 0.19634,
    "h": 331.4
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#9C2393
secondary
#5BC063
accent
#E64E41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2393

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

Preview Lab → · Contrast checker → · Palette generator →

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