#9C218B#9C218B

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

Color values

HEX#9C218B
RGBrgb(156, 33, 139)
HSLhsl(308, 65%, 37%)
HSVhsv(308, 79%, 61%)
CMYKcmyk(0%, 78.8%, 10.9%, 38.8%)
CIE-LABlab(37.88, 59.67, -30.15)
CIE-LCHlch(37.88, 66.86, 333.19°)
OKLaboklab(49.01% 0.1739 -0.0826)
OKLCHoklch(49.01% 0.192 334.6)
XYZxyz(18.9146, 10.0214, 25.3593)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C218B #219C32
analogous
#70219C #9C218B #9C214D
triadic
#9C218B #8B9C21 #218B9C
tetradic
#9C218B #9C7021 #219C32 #214D9C
square
#9C218B #9C7021 #219C32 #214D9C
split-complementary
#9C218B #4D9C21 #219C70
monochromatic
#370C31 #69165E #9C218B #CF2CB8 #DC5BCA

Accessibility & contrast

On white

6.99
#9C218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C218B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C218B#FFFFFF#000000##FFFFFF
##9C218B1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#A42D55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c218b;
/* rgb */ color: rgb(156, 33, 139);
/* oklch */ color: oklch(49.0% 0.192 334.6);
Tailwind
colors: {
  custom: {
    50: '#bd6bad',
    500: '#9c218b',
    950: '#000000',
  },
}
SCSS
$custom: #9c218b;
$custom-light: #bd6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c218b",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 308.293,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.19248,
    "h": 334.6
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C218B

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

Preview Lab → · Contrast checker → · Palette generator →

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