#9C219E#9C219E

#9C219E is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.206 H 327.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9C219E
RGBrgb(156, 33, 158)
HSLhsl(299, 65%, 37%)
HSVhsv(299, 79%, 62%)
CMYKcmyk(1.3%, 79.1%, 0%, 38%)
CIE-LABlab(38.94, 62.67, -40.04)
CIE-LCHlch(38.94, 74.37, 327.42°)
OKLaboklab(50.11% 0.1739 -0.1112)
OKLCHoklch(50.11% 0.206 327.4)
XYZxyz(20.4254, 10.6258, 33.3163)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C219E #239E21
analogous
#5E219E #9C219E #9E2162
triadic
#9C219E #9E9C21 #219E9C
tetradic
#9C219E #9E5E21 #239E21 #21629E
square
#9C219E #9E5E21 #239E21 #21629E
split-complementary
#9C219E #629E21 #219E5E
monochromatic
#380C39 #6A166B #9C219E #CE2CD1 #DB5CDD

Accessibility & contrast

On white

6.72
#9C219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9C219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C219E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C219E#FFFFFF#000000##FFFFFF
##9C219E1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#44619B
Tritanopia (blue-blind)
#A13760
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c219e;
/* rgb */ color: rgb(156, 33, 158);
/* oklch */ color: oklch(50.1% 0.206 327.4);
Tailwind
colors: {
  custom: {
    50: '#bd6cbb',
    500: '#9c219e',
    950: '#000000',
  },
}
SCSS
$custom: #9c219e;
$custom-light: #bd6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c219e",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 299.04,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.20646,
    "h": 327.4
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#9C219E
secondary
#5BC159
accent
#E83F42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C219E

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

Preview Lab → · Contrast checker → · Palette generator →

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