#9C218E#9C218E

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

Color values

HEX#9C218E
RGBrgb(156, 33, 142)
HSLhsl(307, 65%, 37%)
HSVhsv(307, 79%, 61%)
CMYKcmyk(0%, 78.8%, 9%, 38.8%)
CIE-LABlab(38.04, 60.12, -31.74)
CIE-LCHlch(38.04, 67.99, 332.17°)
OKLaboklab(49.17% 0.174 -0.0872)
OKLCHoklch(49.17% 0.195 333.4)
XYZxyz(19.1368, 10.1103, 26.5295)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C218E #219C2F
analogous
#6C219C #9C218E #9C2151
triadic
#9C218E #8E9C21 #218E9C
tetradic
#9C218E #9C6C21 #219C2F #21519C
square
#9C218E #9C6C21 #219C2F #21519C
split-complementary
#9C218E #519C21 #219C6C
monochromatic
#370C32 #691660 #9C218E #CF2CBC #DC5BCE

Accessibility & contrast

On white

6.95
#9C218E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9C218E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C218E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C218E#FFFFFF#000000##FFFFFF
##9C218E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c218e;
/* rgb */ color: rgb(156, 33, 142);
/* oklch */ color: oklch(49.2% 0.195 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd6baf',
    500: '#9c218e',
    950: '#000000',
  },
}
SCSS
$custom: #9c218e;
$custom-light: #bd6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c218e",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 306.829,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.19461,
    "h": 333.4
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#9C218E
secondary
#58C164
accent
#E85340
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C218E

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

Preview Lab → · Contrast checker → · Palette generator →

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