#9C2188#9C2188

#9C2188 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.190 H 335.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9C2188
RGBrgb(156, 33, 136)
HSLhsl(310, 65%, 37%)
HSVhsv(310, 79%, 61%)
CMYKcmyk(0%, 78.8%, 12.8%, 38.8%)
CIE-LABlab(37.73, 59.22, -28.55)
CIE-LCHlch(37.73, 65.75, 334.26°)
OKLaboklab(48.85% 0.1737 -0.078)
OKLCHoklch(48.85% 0.19 335.8)
XYZxyz(18.6984, 9.9349, 24.2206)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2188 #219C35
analogous
#73219C #9C2188 #9C214B
triadic
#9C2188 #889C21 #21889C
tetradic
#9C2188 #9C7321 #219C35 #214B9C
square
#9C2188 #9C7321 #219C35 #214B9C
split-complementary
#9C2188 #4B9C21 #219C73
monochromatic
#370C30 #69165C #9C2188 #CF2CB4 #DC5BC7

Accessibility & contrast

On white

7.03
#9C2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2188
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2188#FFFFFF#000000##FFFFFF
##9C21881.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8B
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#A42B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2188;
/* rgb */ color: rgb(156, 33, 136);
/* oklch */ color: oklch(48.8% 0.190 335.8);
Tailwind
colors: {
  custom: {
    50: '#bd6bab',
    500: '#9c2188',
    950: '#000000',
  },
}
SCSS
$custom: #9c2188;
$custom-light: #bd6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2188",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 309.756,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48846,
    "c": 0.19037,
    "h": 335.8
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#9C2188
secondary
#58C169
accent
#E85B40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2188

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

Preview Lab → · Contrast checker → · Palette generator →

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