#9221CA#9221CA

#9221CA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.7% C 0.238 H 310.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9221CA
RGBrgb(146, 33, 202)
HSLhsl(280, 72%, 46%)
HSVhsv(280, 84%, 79%)
CMYKcmyk(27.7%, 83.7%, 0%, 20.8%)
CIE-LABlab(40.35, 68.94, -63.90)
CIE-LCHlch(40.35, 94.00, 317.17°)
OKLaboklab(51.74% 0.1547 -0.1815)
OKLCHoklch(51.74% 0.238 310.4)
XYZxyz(23.0565, 11.4635, 56.8638)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9221CA #59CA21
analogous
#3D21CA #9221CA #CA21AD
triadic
#9221CA #CA9221 #21CA92
tetradic
#9221CA #CA3D21 #59CA21 #21ADCA
square
#9221CA #CA3D21 #59CA21 #21ADCA
split-complementary
#9221CA #ADCA21 #21CA3D
monochromatic
#461061 #6C1895 #9221CA #AE47E1 #C57CEA

Accessibility & contrast

On white

6.38
#9221CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9221CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9221CA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9221CA#FFFFFF#000000##FFFFFF
##9221CA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#8A4F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9221ca;
/* rgb */ color: rgb(146, 33, 202);
/* oklch */ color: oklch(51.7% 0.238 310.4);
Tailwind
colors: {
  custom: {
    50: '#b86ddb',
    500: '#9221ca',
    950: '#000000',
  },
}
SCSS
$custom: #9221ca;
$custom-light: #b86ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#9221ca",
  "rgb": {
    "r": 146,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 280.118,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.23848,
    "h": 310.4
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#9221CA
secondary
#94D275
accent
#EF3975
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #9221CA

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

Preview Lab → · Contrast checker → · Palette generator →

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