#9221B3#9221B3

#9221B3 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.219 H 316.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9221B3
RGBrgb(146, 33, 179)
HSLhsl(286, 69%, 42%)
HSVhsv(286, 82%, 70%)
CMYKcmyk(18.4%, 81.6%, 0%, 29.8%)
CIE-LABlab(38.65, 64.47, -53.17)
CIE-LCHlch(38.65, 83.57, 320.49°)
OKLaboklab(50.01% 0.1599 -0.1499)
OKLCHoklch(50.01% 0.219 316.8)
XYZxyz(20.5334, 10.4543, 43.5754)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9221B3 #42B321
analogous
#4921B3 #9221B3 #B3218B
triadic
#9221B3 #B39221 #21B392
tetradic
#9221B3 #B34921 #42B321 #218BB3
square
#9221B3 #B34921 #42B321 #218BB3
split-complementary
#9221B3 #8BB321 #21B349
monochromatic
#3E0E4C #68177F #9221B3 #B537DA #C86BE4

Accessibility & contrast

On white

6.79
#9221B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9221B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9221B3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9221B3#FFFFFF#000000##FFFFFF
##9221B31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#90446C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9221b3;
/* rgb */ color: rgb(146, 33, 179);
/* oklch */ color: oklch(50.0% 0.219 316.8);
Tailwind
colors: {
  custom: {
    50: '#b76cca',
    500: '#9221b3',
    950: '#000000',
  },
}
SCSS
$custom: #9221b3;
$custom-light: #b76cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9221b3",
  "rgb": {
    "r": 146,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 286.438,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.21923,
    "h": 316.8
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#9221B3
secondary
#7DCA66
accent
#EC3C64
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9221B3

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

Preview Lab → · Contrast checker → · Palette generator →

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