#9C2A93#9C2A93

#9C2A93 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.189 H 331.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9C2A93
RGBrgb(156, 42, 147)
HSLhsl(305, 58%, 39%)
HSVhsv(305, 73%, 61%)
CMYKcmyk(0%, 73.1%, 5.8%, 38.8%)
CIE-LABlab(39.30, 58.08, -32.82)
CIE-LCHlch(39.30, 66.71, 330.53°)
OKLaboklab(50.16% 0.166 -0.0903)
OKLCHoklch(50.16% 0.189 331.4)
XYZxyz(19.8047, 10.8320, 28.6458)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A93 #2A9C33
analogous
#6C2A9C #9C2A93 #9C2A5A
triadic
#9C2A93 #939C2A #2A939C
tetradic
#9C2A93 #9C6C2A #2A9C33 #2A5A9C
square
#9C2A93 #9C6C2A #2A9C33 #2A5A9C
split-complementary
#9C2A93 #5A9C2A #2A9C6C
monochromatic
#3C1038 #6C1D66 #9C2A93 #CA39BE #D76ACE

Accessibility & contrast

On white

6.63
#9C2A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9C2A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A93
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A93#FFFFFF#000000##FFFFFF
##9C2A931.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#4E6290
Tritanopia (blue-blind)
#A2375C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2a93;
/* rgb */ color: rgb(156, 42, 147);
/* oklch */ color: oklch(50.2% 0.189 331.4);
Tailwind
colors: {
  custom: {
    50: '#bd6fb3',
    500: '#9c2a93',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a93;
$custom-light: #bd6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a93",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 304.737,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50161,
    "c": 0.18895,
    "h": 331.4
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#9C2A93
secondary
#65BD6C
accent
#E15347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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