#9222BD#9222BD

#9222BD is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.8% C 0.227 H 313.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9222BD
RGBrgb(146, 34, 189)
HSLhsl(283, 70%, 44%)
HSVhsv(283, 82%, 74%)
CMYKcmyk(22.8%, 82%, 0%, 25.9%)
CIE-LABlab(39.46, 66.11, -57.75)
CIE-LCHlch(39.46, 87.78, 318.86°)
OKLaboklab(50.81% 0.1572 -0.1634)
OKLCHoklch(50.81% 0.227 313.9)
XYZxyz(21.6098, 10.9299, 49.1056)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9222BD #4DBD22
analogous
#4422BD #9222BD #BD229A
triadic
#9222BD #BD9222 #22BD92
tetradic
#9222BD #BD4422 #4DBD22 #229ABD
square
#9222BD #BD4422 #4DBD22 #229ABD
split-complementary
#9222BD #9ABD22 #22BD44
monochromatic
#420F55 #6A1989 #9222BD #B140DD #C673E6

Accessibility & contrast

On white

6.59
#9222BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9222BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9222BD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9222BD#FFFFFF#000000##FFFFFF
##9222BD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0B5FBA
Tritanopia (blue-blind)
#8E4972
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9222bd;
/* rgb */ color: rgb(146, 34, 189);
/* oklch */ color: oklch(50.8% 0.227 313.9);
Tailwind
colors: {
  custom: {
    50: '#b76dd2',
    500: '#9222bd',
    950: '#000000',
  },
}
SCSS
$custom: #9222bd;
$custom-light: #b76dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9222bd",
  "rgb": {
    "r": 146,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 283.355,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50809,
    "c": 0.22675,
    "h": 313.9
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#9222BD
secondary
#88CD6E
accent
#EC3B6D
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9222BD

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

Preview Lab → · Contrast checker → · Palette generator →

#9222BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva