#9221A5#9221A5

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

Color values

HEX#9221A5
RGBrgb(146, 33, 165)
HSLhsl(291, 67%, 39%)
HSVhsv(291, 80%, 65%)
CMYKcmyk(11.5%, 80%, 0%, 35.3%)
CIE-LABlab(37.69, 61.89, -46.35)
CIE-LCHlch(37.69, 77.32, 323.17°)
OKLaboklab(49.04% 0.1621 -0.1299)
OKLCHoklch(49.04% 0.208 321.3)
XYZxyz(19.1887, 9.9164, 36.4934)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9221A5 #34A521
analogous
#5021A5 #9221A5 #A52176
triadic
#9221A5 #A59221 #21A592
tetradic
#9221A5 #A55021 #34A521 #2176A5
square
#9221A5 #A55021 #34A521 #2176A5
split-complementary
#9221A5 #76A521 #21A550
monochromatic
#380D3F #651772 #9221A5 #BD2ED5 #CD61DF

Accessibility & contrast

On white

7.04
#9221A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9221A5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9221A5#FFFFFF#000000##FFFFFF
##9221A51.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#933D64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9221a5;
/* rgb */ color: rgb(146, 33, 165);
/* oklch */ color: oklch(49.0% 0.208 321.3);
Tailwind
colors: {
  custom: {
    50: '#b66bc0',
    500: '#9221a5',
    950: '#000000',
  },
}
SCSS
$custom: #9221a5;
$custom-light: #b66bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9221a5",
  "rgb": {
    "r": 146,
    "g": 33,
    "b": 165
  },
  "hsl": {
    "h": 291.364,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.20775,
    "h": 321.3
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#9221A5
secondary
#6CC45E
accent
#EA3E57
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9221A5

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

Preview Lab → · Contrast checker → · Palette generator →

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