#9A219F#9A219F

#9A219F is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.206 H 326.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9A219F
RGBrgb(154, 33, 159)
HSLhsl(298, 66%, 38%)
HSVhsv(298, 79%, 62%)
CMYKcmyk(3.1%, 79.2%, 0%, 37.6%)
CIE-LABlab(38.66, 62.42, -41.12)
CIE-LCHlch(38.66, 74.75, 326.63°)
OKLaboklab(49.86% 0.1717 -0.1144)
OKLCHoklch(49.86% 0.206 326.3)
XYZxyz(20.1279, 10.4624, 33.7535)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A219F #269F21
analogous
#5B219F #9A219F #9F2165
triadic
#9A219F #9F9A21 #219F9A
tetradic
#9A219F #9F5B21 #269F21 #21659F
square
#9A219F #9F5B21 #269F21 #21659F
split-complementary
#9A219F #659F21 #219F5B
monochromatic
#380C3A #69166C #9A219F #CB2CD2 #D85DDD

Accessibility & contrast

On white

6.79
#9A219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A219F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A219F#FFFFFF#000000##FFFFFF
##9A219F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#9E3860
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a219f;
/* rgb */ color: rgb(154, 33, 159);
/* oklch */ color: oklch(49.9% 0.206 326.3);
Tailwind
colors: {
  custom: {
    50: '#bc6cbc',
    500: '#9a219f',
    950: '#000000',
  },
}
SCSS
$custom: #9a219f;
$custom-light: #bc6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a219f",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 297.619,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49861,
    "c": 0.20634,
    "h": 326.3
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#9A219F
secondary
#5EC25A
accent
#E93F46
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A219F

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

Preview Lab → · Contrast checker → · Palette generator →

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