#9221B4#9221B4

#9221B4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.220 H 316.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9221B4
RGBrgb(146, 33, 180)
HSLhsl(286, 69%, 42%)
HSVhsv(286, 82%, 71%)
CMYKcmyk(18.9%, 81.7%, 0%, 29.4%)
CIE-LABlab(38.72, 64.66, -53.65)
CIE-LCHlch(38.72, 84.02, 320.32°)
OKLaboklab(50.08% 0.1598 -0.1513)
OKLCHoklch(50.08% 0.22 316.5)
XYZxyz(20.6349, 10.4949, 44.1099)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9221B4 #43B421
analogous
#4821B4 #9221B4 #B4218D
triadic
#9221B4 #B49221 #21B492
tetradic
#9221B4 #B44821 #43B421 #218DB4
square
#9221B4 #B44821 #43B421 #218DB4
split-complementary
#9221B4 #8DB421 #21B448
monochromatic
#3E0E4D #681880 #9221B4 #B538DA #C86BE4

Accessibility & contrast

On white

6.78
#9221B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9221B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9221B4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9221B4#FFFFFF#000000##FFFFFF
##9221B41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#205EB1
Tritanopia (blue-blind)
#90456C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9221b4;
/* rgb */ color: rgb(146, 33, 180);
/* oklch */ color: oklch(50.1% 0.220 316.5);
Tailwind
colors: {
  custom: {
    50: '#b76ccb',
    500: '#9221b4',
    950: '#000000',
  },
}
SCSS
$custom: #9221b4;
$custom-light: #b76ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#9221b4",
  "rgb": {
    "r": 146,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 286.122,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.22005,
    "h": 316.5
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#9221B4
secondary
#7ECA67
accent
#EC3C65
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #9221B4

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

Preview Lab → · Contrast checker → · Palette generator →

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