#9A219A#9A219A

#9A219A is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.203 H 328.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9A219A
RGBrgb(154, 33, 154)
HSLhsl(300, 65%, 37%)
HSVhsv(300, 79%, 60%)
CMYKcmyk(0%, 78.6%, 0%, 39.6%)
CIE-LABlab(38.36, 61.60, -38.57)
CIE-LCHlch(38.36, 72.67, 327.95°)
OKLaboklab(49.55% 0.172 -0.107)
OKLCHoklch(49.55% 0.203 328.1)
XYZxyz(19.7028, 10.2923, 31.5145)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A219A #219A21
analogous
#5E219A #9A219A #9A215E
triadic
#9A219A #9A9A21 #219A9A
tetradic
#9A219A #9A5E21 #219A21 #215E9A
square
#9A219A #9A5E21 #219A21 #215E9A
split-complementary
#9A219A #5E9A21 #219A5E
monochromatic
#350B35 #681668 #9A219A #CC2CCC #DC5ADC

Accessibility & contrast

On white

6.87
#9A219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9A219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A219A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A219A#FFFFFF#000000##FFFFFF
##9A219A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#9F365D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a219a;
/* rgb */ color: rgb(154, 33, 154);
/* oklch */ color: oklch(49.6% 0.203 328.1);
Tailwind
colors: {
  custom: {
    50: '#bc6cb8',
    500: '#9a219a',
    950: '#000000',
  },
}
SCSS
$custom: #9a219a;
$custom-light: #bc6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a219a",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 300,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49554,
    "c": 0.20251,
    "h": 328.1
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#9A219A
secondary
#57C057
accent
#E84040
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A219A

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

Preview Lab → · Contrast checker → · Palette generator →

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