#9227A3#9227A3

#9227A3 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.200 H 321.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9227A3
RGBrgb(146, 39, 163)
HSLhsl(292, 61%, 40%)
HSVhsv(292, 76%, 64%)
CMYKcmyk(10.4%, 76.1%, 0%, 36.1%)
CIE-LABlab(38.21, 59.65, -44.32)
CIE-LCHlch(38.21, 74.31, 323.39°)
OKLaboklab(49.36% 0.1573 -0.124)
OKLCHoklch(49.36% 0.2 321.7)
XYZxyz(19.1897, 10.2075, 35.6027)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227A3 #38A327
analogous
#5427A3 #9227A3 #A32776
triadic
#9227A3 #A39227 #27A392
tetradic
#9227A3 #A35427 #38A327 #2776A3
square
#9227A3 #A35427 #38A327 #2776A3
split-complementary
#9227A3 #76A327 #27A354
monochromatic
#3A0F40 #661B72 #9227A3 #BB38CF #CC69DB

Accessibility & contrast

On white

6.91
#9227A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9227A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9227A3#FFFFFF#000000##FFFFFF
##9227A31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#933F64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9227a3;
/* rgb */ color: rgb(146, 39, 163);
/* oklch */ color: oklch(49.4% 0.200 321.7);
Tailwind
colors: {
  custom: {
    50: '#b66dbf',
    500: '#9227a3',
    950: '#000000',
  },
}
SCSS
$custom: #9227a3;
$custom-light: #b66dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9227a3",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 291.774,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49364,
    "c": 0.20029,
    "h": 321.7
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#9227A3
secondary
#71C164
accent
#E44359
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9227A3

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

Preview Lab → · Contrast checker → · Palette generator →

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