#9227AA#9227AA

#9227AA is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.206 H 319.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9227AA
RGBrgb(146, 39, 170)
HSLhsl(289, 63%, 41%)
HSVhsv(289, 77%, 67%)
CMYKcmyk(14.1%, 77.1%, 0%, 33.3%)
CIE-LABlab(38.66, 60.95, -47.78)
CIE-LCHlch(38.66, 77.45, 321.90°)
OKLaboklab(49.83% 0.1566 -0.1342)
OKLCHoklch(49.83% 0.206 319.4)
XYZxyz(19.8343, 10.4653, 38.9977)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227AA #3FAA27
analogous
#5127AA #9227AA #AA2780
triadic
#9227AA #AA9227 #27AA92
tetradic
#9227AA #AA5127 #3FAA27 #2780AA
square
#9227AA #AA5127 #3FAA27 #2780AA
split-complementary
#9227AA #80AA27 #27AA51
monochromatic
#3C1046 #671C78 #9227AA #B73CD2 #C96EDE

Accessibility & contrast

On white

6.79
#9227AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9227AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227AA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227AA#FFFFFF#000000##FFFFFF
##9227AA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#325FA7
Tritanopia (blue-blind)
#924368
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9227aa;
/* rgb */ color: rgb(146, 39, 170);
/* oklch */ color: oklch(49.8% 0.206 319.4);
Tailwind
colors: {
  custom: {
    50: '#b66ec4',
    500: '#9227aa',
    950: '#000000',
  },
}
SCSS
$custom: #9227aa;
$custom-light: #b66ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9227aa",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 289.008,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.20619,
    "h": 319.4
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#9227AA
secondary
#79C469
accent
#E64260
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9227AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9227AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva