#9221B2#9221B2

#9221B2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.218 H 317.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9221B2
RGBrgb(146, 33, 178)
HSLhsl(287, 69%, 41%)
HSVhsv(287, 81%, 70%)
CMYKcmyk(18%, 81.5%, 0%, 30.2%)
CIE-LABlab(38.58, 64.29, -52.69)
CIE-LCHlch(38.58, 83.12, 320.66°)
OKLaboklab(49.94% 0.1601 -0.1485)
OKLCHoklch(49.94% 0.218 317.2)
XYZxyz(20.4326, 10.4140, 43.0447)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9221B2 #41B221
analogous
#4A21B2 #9221B2 #B2218A
triadic
#9221B2 #B29221 #21B292
tetradic
#9221B2 #B24A21 #41B221 #218AB2
square
#9221B2 #B24A21 #41B221 #218AB2
split-complementary
#9221B2 #8AB221 #21B24A
monochromatic
#3D0E4B #68177E #9221B2 #B636DA #C96AE3

Accessibility & contrast

On white

6.81
#9221B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9221B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9221B2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9221B2#FFFFFF#000000##FFFFFF
##9221B21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#90446B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9221b2;
/* rgb */ color: rgb(146, 33, 178);
/* oklch */ color: oklch(49.9% 0.218 317.2);
Tailwind
colors: {
  custom: {
    50: '#b76cca',
    500: '#9221b2',
    950: '#000000',
  },
}
SCSS
$custom: #9221b2;
$custom-light: #b76cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9221b2",
  "rgb": {
    "r": 146,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 286.759,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.2184,
    "h": 317.2
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#9221B2
secondary
#7CC966
accent
#EC3C63
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9221B2

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

Preview Lab → · Contrast checker → · Palette generator →

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