#9227A1#9227A1

#9227A1 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.199 H 322.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9227A1
RGBrgb(146, 39, 161)
HSLhsl(293, 61%, 39%)
HSVhsv(293, 76%, 63%)
CMYKcmyk(9.3%, 75.8%, 0%, 36.9%)
CIE-LABlab(38.09, 59.29, -43.32)
CIE-LCHlch(38.09, 73.42, 323.85°)
OKLaboklab(49.23% 0.1574 -0.1211)
OKLCHoklch(49.23% 0.199 322.4)
XYZxyz(19.0119, 10.1363, 34.6664)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227A1 #36A127
analogous
#5527A1 #9227A1 #A12773
triadic
#9227A1 #A19227 #27A192
tetradic
#9227A1 #A15527 #36A127 #2773A1
square
#9227A1 #A15527 #36A127 #2773A1
split-complementary
#9227A1 #73A127 #27A155
monochromatic
#390F3E #651B70 #9227A1 #BC37CE #CC68DA

Accessibility & contrast

On white

6.94
#9227A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9227A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9227A1#FFFFFF#000000##FFFFFF
##9227A11.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#3A5E9E
Tritanopia (blue-blind)
#943F63
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9227a1;
/* rgb */ color: rgb(146, 39, 161);
/* oklch */ color: oklch(49.2% 0.199 322.4);
Tailwind
colors: {
  custom: {
    50: '#b66dbd',
    500: '#9227a1',
    950: '#000000',
  },
}
SCSS
$custom: #9227a1;
$custom-light: #b66dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9227a1",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 292.623,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.19863,
    "h": 322.4
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#9227A1
secondary
#6FC063
accent
#E44457
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9227A1

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

Preview Lab → · Contrast checker → · Palette generator →

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