#9C219F#9C219F

#9C219F is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.207 H 327.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9C219F
RGBrgb(156, 33, 159)
HSLhsl(299, 66%, 38%)
HSVhsv(299, 79%, 62%)
CMYKcmyk(1.9%, 79.2%, 0%, 37.6%)
CIE-LABlab(39.00, 62.83, -40.55)
CIE-LCHlch(39.00, 74.78, 327.16°)
OKLaboklab(50.17% 0.1739 -0.1127)
OKLCHoklch(50.17% 0.207 327.1)
XYZxyz(20.5118, 10.6603, 33.7715)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C219F #249F21
analogous
#5D219F #9C219F #9F2163
triadic
#9C219F #9F9C21 #219F9C
tetradic
#9C219F #9F5D21 #249F21 #21639F
square
#9C219F #9F5D21 #249F21 #21639F
split-complementary
#9C219F #639F21 #219F5D
monochromatic
#390C3A #6A166C #9C219F #CE2CD2 #DA5DDD

Accessibility & contrast

On white

6.71
#9C219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C219F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C219F#FFFFFF#000000##FFFFFF
##9C219F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#43619C
Tritanopia (blue-blind)
#A13860
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c219f;
/* rgb */ color: rgb(156, 33, 159);
/* oklch */ color: oklch(50.2% 0.207 327.1);
Tailwind
colors: {
  custom: {
    50: '#bd6cbc',
    500: '#9c219f',
    950: '#000000',
  },
}
SCSS
$custom: #9c219f;
$custom-light: #bd6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c219f",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 298.571,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.20723,
    "h": 327.1
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#9C219F
secondary
#5CC25A
accent
#E93F43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C219F

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

Preview Lab → · Contrast checker → · Palette generator →

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