#9221A4#9221A4

#9221A4 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.207 H 321.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9221A4
RGBrgb(146, 33, 164)
HSLhsl(292, 66%, 39%)
HSVhsv(292, 80%, 64%)
CMYKcmyk(11%, 79.9%, 0%, 35.7%)
CIE-LABlab(37.63, 61.71, -45.86)
CIE-LCHlch(37.63, 76.88, 323.38°)
OKLaboklab(48.97% 0.1622 -0.1285)
OKLCHoklch(48.97% 0.207 321.6)
XYZxyz(19.0980, 9.8801, 36.0159)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9221A4 #33A421
analogous
#5021A4 #9221A4 #A42174
triadic
#9221A4 #A49221 #21A492
tetradic
#9221A4 #A45021 #33A421 #2174A4
square
#9221A4 #A45021 #33A421 #2174A4
split-complementary
#9221A4 #74A421 #21A450
monochromatic
#370C3E #651771 #9221A4 #BE2DD5 #CE60DF

Accessibility & contrast

On white

7.06
#9221A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9221A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9221A4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9221A4#FFFFFF#000000##FFFFFF
##9221A41.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#345DA1
Tritanopia (blue-blind)
#933D63
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9221a4;
/* rgb */ color: rgb(146, 33, 164);
/* oklch */ color: oklch(49.0% 0.207 321.6);
Tailwind
colors: {
  custom: {
    50: '#b66bc0',
    500: '#9221a4',
    950: '#000000',
  },
}
SCSS
$custom: #9221a4;
$custom-light: #b66bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9221a4",
  "rgb": {
    "r": 146,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 291.756,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4897,
    "c": 0.20694,
    "h": 321.6
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

primary
#9221A4
secondary
#6BC45D
accent
#E93E56
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9221A4

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

Preview Lab → · Contrast checker → · Palette generator →

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