#9C218D#9C218D

#9C218D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.194 H 333.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9C218D
RGBrgb(156, 33, 141)
HSLhsl(307, 65%, 37%)
HSVhsv(307, 79%, 61%)
CMYKcmyk(0%, 78.8%, 9.6%, 38.8%)
CIE-LABlab(37.99, 59.97, -31.22)
CIE-LCHlch(37.99, 67.61, 332.50°)
OKLaboklab(49.12% 0.174 -0.0856)
OKLCHoklch(49.12% 0.194 333.8)
XYZxyz(19.0621, 10.0804, 26.1359)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C218D #219C30
analogous
#6E219C #9C218D #9C2150
triadic
#9C218D #8D9C21 #218D9C
tetradic
#9C218D #9C6E21 #219C30 #21509C
square
#9C218D #9C6E21 #219C30 #21509C
split-complementary
#9C218D #509C21 #219C6E
monochromatic
#370C32 #69165F #9C218D #CF2CBB #DC5BCD

Accessibility & contrast

On white

6.96
#9C218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C218D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C218D#FFFFFF#000000##FFFFFF
##9C218D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#A32E56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c218d;
/* rgb */ color: rgb(156, 33, 141);
/* oklch */ color: oklch(49.1% 0.194 333.8);
Tailwind
colors: {
  custom: {
    50: '#bd6baf',
    500: '#9c218d',
    950: '#000000',
  },
}
SCSS
$custom: #9c218d;
$custom-light: #bd6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c218d",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 307.317,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.1939,
    "h": 333.8
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#9C218D
secondary
#58C165
accent
#E85440
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C218D

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

Preview Lab → · Contrast checker → · Palette generator →

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