#9221AF#9221AF

#9221AF is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.216 H 318.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9221AF
RGBrgb(146, 33, 175)
HSLhsl(288, 68%, 41%)
HSVhsv(288, 81%, 69%)
CMYKcmyk(16.6%, 81.1%, 0%, 31.4%)
CIE-LABlab(38.37, 63.72, -51.24)
CIE-LCHlch(38.37, 81.77, 321.19°)
OKLaboklab(49.73% 0.1606 -0.1443)
OKLCHoklch(49.73% 0.216 318.1)
XYZxyz(20.1347, 10.2948, 41.4756)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9221AF #3EAF21
analogous
#4B21AF #9221AF #AF2185
triadic
#9221AF #AF9221 #21AF92
tetradic
#9221AF #AF4B21 #3EAF21 #2185AF
square
#9221AF #AF4B21 #3EAF21 #2185AF
split-complementary
#9221AF #85AF21 #21AF4B
monochromatic
#3C0E48 #67177C #9221AF #B734D9 #C968E3

Accessibility & contrast

On white

6.87
#9221AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9221AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9221AF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9221AF#FFFFFF#000000##FFFFFF
##9221AF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#914269
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9221af;
/* rgb */ color: rgb(146, 33, 175);
/* oklch */ color: oklch(49.7% 0.216 318.1);
Tailwind
colors: {
  custom: {
    50: '#b66cc8',
    500: '#9221af',
    950: '#000000',
  },
}
SCSS
$custom: #9221af;
$custom-light: #b66cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9221af",
  "rgb": {
    "r": 146,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 287.746,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49726,
    "c": 0.21593,
    "h": 318.1
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#9221AF
secondary
#78C864
accent
#EB3D60
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9221AF

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

Preview Lab → · Contrast checker → · Palette generator →

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