#9C219C#9C219C

#9C219C is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.205 H 328.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9C219C
RGBrgb(156, 33, 156)
HSLhsl(300, 65%, 37%)
HSVhsv(300, 79%, 61%)
CMYKcmyk(0%, 78.8%, 0%, 38.8%)
CIE-LABlab(38.83, 62.34, -39.02)
CIE-LCHlch(38.83, 73.54, 327.95°)
OKLaboklab(49.99% 0.174 -0.1082)
OKLCHoklch(49.99% 0.205 328.1)
XYZxyz(20.2547, 10.5575, 32.4170)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C219C #219C21
analogous
#5F219C #9C219C #9C215F
triadic
#9C219C #9C9C21 #219C9C
tetradic
#9C219C #9C5F21 #219C21 #215F9C
square
#9C219C #9C5F21 #219C21 #215F9C
split-complementary
#9C219C #5F9C21 #219C5F
monochromatic
#370C37 #691669 #9C219C #CF2CCF #DC5BDC

Accessibility & contrast

On white

6.75
#9C219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C219C
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C219C#FFFFFF#000000##FFFFFF
##9C219C1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#A1365E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c219c;
/* rgb */ color: rgb(156, 33, 156);
/* oklch */ color: oklch(50.0% 0.205 328.1);
Tailwind
colors: {
  custom: {
    50: '#bd6cba',
    500: '#9c219c',
    950: '#000000',
  },
}
SCSS
$custom: #9c219c;
$custom-light: #bd6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c219c",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 300,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.20495,
    "h": 328.1
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#9C219C
secondary
#58C158
accent
#E84040
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C219C

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

Preview Lab → · Contrast checker → · Palette generator →

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