#9A219C#9A219C

#9A219C is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.204 H 327.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9A219C
RGBrgb(154, 33, 156)
HSLhsl(299, 65%, 37%)
HSVhsv(299, 79%, 61%)
CMYKcmyk(1.3%, 78.8%, 0%, 38.8%)
CIE-LABlab(38.48, 61.92, -39.59)
CIE-LCHlch(38.48, 73.50, 327.41°)
OKLaboklab(49.68% 0.1719 -0.11)
OKLCHoklch(49.68% 0.204 327.4)
XYZxyz(19.8707, 10.3595, 32.3990)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A219C #239C21
analogous
#5C219C #9A219C #9C2161
triadic
#9A219C #9C9A21 #219C9A
tetradic
#9A219C #9C5C21 #239C21 #21619C
square
#9A219C #9C5C21 #239C21 #21619C
split-complementary
#9A219C #619C21 #219C5C
monochromatic
#360C37 #681669 #9A219C #CC2CCF #DA5BDC

Accessibility & contrast

On white

6.84
#9A219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9A219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A219C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A219C#FFFFFF#000000##FFFFFF
##9A219C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#9F375E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a219c;
/* rgb */ color: rgb(154, 33, 156);
/* oklch */ color: oklch(49.7% 0.204 327.4);
Tailwind
colors: {
  custom: {
    50: '#bc6cba',
    500: '#9a219c',
    950: '#000000',
  },
}
SCSS
$custom: #9a219c;
$custom-light: #bc6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a219c",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 299.024,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.20404,
    "h": 327.4
  },
  "luminance": 0.10358
}

Semantic roles & 50–950 ramp

primary
#9A219C
secondary
#5AC158
accent
#E84042
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A219C

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

Preview Lab → · Contrast checker → · Palette generator →

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