#9222AF#9222AF

#9222AF is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.215 H 318.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9222AF
RGBrgb(146, 34, 175)
HSLhsl(288, 67%, 41%)
HSVhsv(288, 81%, 69%)
CMYKcmyk(16.6%, 80.6%, 0%, 31.4%)
CIE-LABlab(38.47, 63.44, -51.09)
CIE-LCHlch(38.47, 81.45, 321.16°)
OKLaboklab(49.8% 0.1599 -0.1438)
OKLCHoklch(49.8% 0.215 318)
XYZxyz(20.1629, 10.3511, 41.4850)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9222AF #3FAF22
analogous
#4C22AF #9222AF #AF2285
triadic
#9222AF #AF9222 #22AF92
tetradic
#9222AF #AF4C22 #3FAF22 #2285AF
square
#9222AF #AF4C22 #3FAF22 #2285AF
split-complementary
#9222AF #85AF22 #22AF4C
monochromatic
#3C0E49 #67187C #9222AF #B736D8 #C969E2

Accessibility & contrast

On white

6.84
#9222AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9222AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9222AF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9222AF#FFFFFF#000000##FFFFFF
##9222AF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#91436A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9222af;
/* rgb */ color: rgb(146, 34, 175);
/* oklch */ color: oklch(49.8% 0.215 318.0);
Tailwind
colors: {
  custom: {
    50: '#b66cc8',
    500: '#9222af',
    950: '#000000',
  },
}
SCSS
$custom: #9222af;
$custom-light: #b66cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9222af",
  "rgb": {
    "r": 146,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 287.66,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.21506,
    "h": 318
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#9222AF
secondary
#79C865
accent
#EA3D61
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9222AF

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

Preview Lab → · Contrast checker → · Palette generator →

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