#9C2189#9C2189

#9C2189 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.191 H 335.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9C2189
RGBrgb(156, 33, 137)
HSLhsl(309, 65%, 37%)
HSVhsv(309, 79%, 61%)
CMYKcmyk(0%, 78.8%, 12.2%, 38.8%)
CIE-LABlab(37.78, 59.37, -29.09)
CIE-LCHlch(37.78, 66.11, 333.90°)
OKLaboklab(48.9% 0.1737 -0.0795)
OKLCHoklch(48.9% 0.191 335.4)
XYZxyz(18.7698, 9.9635, 24.5967)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2189 #219C34
analogous
#71219C #9C2189 #9C214C
triadic
#9C2189 #899C21 #21899C
tetradic
#9C2189 #9C7121 #219C34 #214C9C
square
#9C2189 #9C7121 #219C34 #214C9C
split-complementary
#9C2189 #4C9C21 #219C71
monochromatic
#370C30 #69165D #9C2189 #CF2CB5 #DC5BC8

Accessibility & contrast

On white

7.02
#9C2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9C2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2189
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2189#FFFFFF#000000##FFFFFF
##9C21891.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8C
Deuteranopia (green-blind)
#4F5F86
Tritanopia (blue-blind)
#A42C54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2189;
/* rgb */ color: rgb(156, 33, 137);
/* oklch */ color: oklch(48.9% 0.191 335.4);
Tailwind
colors: {
  custom: {
    50: '#bd6bac',
    500: '#9c2189',
    950: '#000000',
  },
}
SCSS
$custom: #9c2189;
$custom-light: #bd6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2189",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 309.268,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48899,
    "c": 0.19107,
    "h": 335.4
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#9C2189
secondary
#58C168
accent
#E85A40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2189

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

Preview Lab → · Contrast checker → · Palette generator →

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