#9C218F#9C218F

#9C218F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.195 H 333.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9C218F
RGBrgb(156, 33, 143)
HSLhsl(306, 65%, 37%)
HSVhsv(306, 79%, 61%)
CMYKcmyk(0%, 78.8%, 8.3%, 38.8%)
CIE-LABlab(38.09, 60.28, -32.27)
CIE-LCHlch(38.09, 68.37, 331.84°)
OKLaboklab(49.23% 0.174 -0.0887)
OKLCHoklch(49.23% 0.195 333)
XYZxyz(19.2122, 10.1405, 26.9267)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C218F #219C2E
analogous
#6B219C #9C218F #9C2152
triadic
#9C218F #8F9C21 #218F9C
tetradic
#9C218F #9C6B21 #219C2E #21529C
square
#9C218F #9C6B21 #219C2E #21529C
split-complementary
#9C218F #529C21 #219C6B
monochromatic
#370C32 #691661 #9C218F #CF2CBD #DC5BCF

Accessibility & contrast

On white

6.94
#9C218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9C218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C218F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C218F#FFFFFF#000000##FFFFFF
##9C218F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A32F57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c218f;
/* rgb */ color: rgb(156, 33, 143);
/* oklch */ color: oklch(49.2% 0.195 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd6cb0',
    500: '#9c218f',
    950: '#000000',
  },
}
SCSS
$custom: #9c218f;
$custom-light: #bd6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c218f",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 306.341,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.19533,
    "h": 333
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#9C218F
secondary
#58C163
accent
#E85240
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C218F

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

Preview Lab → · Contrast checker → · Palette generator →

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