#9221A6#9221A6

#9221A6 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.209 H 320.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9221A6
RGBrgb(146, 33, 166)
HSLhsl(291, 67%, 39%)
HSVhsv(291, 80%, 65%)
CMYKcmyk(12%, 80.1%, 0%, 34.9%)
CIE-LABlab(37.76, 62.07, -46.85)
CIE-LCHlch(37.76, 77.76, 322.96°)
OKLaboklab(49.1% 0.162 -0.1314)
OKLCHoklch(49.1% 0.209 320.9)
XYZxyz(19.2801, 9.9529, 36.9746)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9221A6 #35A621
analogous
#4F21A6 #9221A6 #A62178
triadic
#9221A6 #A69221 #21A692
tetradic
#9221A6 #A64F21 #35A621 #2178A6
square
#9221A6 #A64F21 #35A621 #2178A6
split-complementary
#9221A6 #78A621 #21A64F
monochromatic
#380D40 #651773 #9221A6 #BC2FD6 #CD62E0

Accessibility & contrast

On white

7.02
#9221A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9221A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9221A6
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9221A6#FFFFFF#000000##FFFFFF
##9221A61.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#933E64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9221a6;
/* rgb */ color: rgb(146, 33, 166);
/* oklch */ color: oklch(49.1% 0.209 320.9);
Tailwind
colors: {
  custom: {
    50: '#b66bc1',
    500: '#9221a6',
    950: '#000000',
  },
}
SCSS
$custom: #9221a6;
$custom-light: #b66bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9221a6",
  "rgb": {
    "r": 146,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 290.977,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.20855,
    "h": 320.9
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#9221A6
secondary
#6EC55E
accent
#EA3E58
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9221A6

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

Preview Lab → · Contrast checker → · Palette generator →

#9221A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva