#9C218C#9C218C

#9C218C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.193 H 334.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9C218C
RGBrgb(156, 33, 140)
HSLhsl(308, 65%, 37%)
HSVhsv(308, 79%, 61%)
CMYKcmyk(0%, 78.8%, 10.3%, 38.8%)
CIE-LABlab(37.93, 59.82, -30.69)
CIE-LCHlch(37.93, 67.23, 332.84°)
OKLaboklab(49.06% 0.1739 -0.0841)
OKLCHoklch(49.06% 0.193 334.2)
XYZxyz(18.9880, 10.0508, 25.7458)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C218C #219C31
analogous
#6F219C #9C218C #9C214F
triadic
#9C218C #8C9C21 #218C9C
tetradic
#9C218C #9C6F21 #219C31 #214F9C
square
#9C218C #9C6F21 #219C31 #214F9C
split-complementary
#9C218C #4F9C21 #219C6F
monochromatic
#370C31 #69165F #9C218C #CF2CB9 #DC5BCC

Accessibility & contrast

On white

6.98
#9C218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9C218C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C218C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C218C#FFFFFF#000000##FFFFFF
##9C218C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A42E55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c218c;
/* rgb */ color: rgb(156, 33, 140);
/* oklch */ color: oklch(49.1% 0.193 334.2);
Tailwind
colors: {
  custom: {
    50: '#bd6bae',
    500: '#9c218c',
    950: '#000000',
  },
}
SCSS
$custom: #9c218c;
$custom-light: #bd6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c218c",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 307.805,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.19318,
    "h": 334.2
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#9C218C
secondary
#58C166
accent
#E85640
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C218C

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

Preview Lab → · Contrast checker → · Palette generator →

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