#9C218A#9C218A

#9C218A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.192 H 335.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9C218A
RGBrgb(156, 33, 138)
HSLhsl(309, 65%, 37%)
HSVhsv(309, 79%, 61%)
CMYKcmyk(0%, 78.8%, 11.5%, 38.8%)
CIE-LABlab(37.83, 59.52, -29.62)
CIE-LCHlch(37.83, 66.48, 333.54°)
OKLaboklab(48.95% 0.1738 -0.081)
OKLCHoklch(48.95% 0.192 335)
XYZxyz(18.8419, 9.9923, 24.9762)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C218A #219C33
analogous
#70219C #9C218A #9C214D
triadic
#9C218A #8A9C21 #218A9C
tetradic
#9C218A #9C7021 #219C33 #214D9C
square
#9C218A #9C7021 #219C33 #214D9C
split-complementary
#9C218A #4D9C21 #219C70
monochromatic
#370C31 #69165D #9C218A #CF2CB7 #DC5BC9

Accessibility & contrast

On white

7.00
#9C218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9C218A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C218A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C218A#FFFFFF#000000##FFFFFF
##9C218A1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8D
Deuteranopia (green-blind)
#4F5F87
Tritanopia (blue-blind)
#A42C54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c218a;
/* rgb */ color: rgb(156, 33, 138);
/* oklch */ color: oklch(49.0% 0.192 335.0);
Tailwind
colors: {
  custom: {
    50: '#bd6bac',
    500: '#9c218a',
    950: '#000000',
  },
}
SCSS
$custom: #9c218a;
$custom-light: #bd6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c218a",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 308.78,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.19177,
    "h": 335
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#9C218A
secondary
#58C167
accent
#E85840
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C218A

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

Preview Lab → · Contrast checker → · Palette generator →

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