#9227A4#9227A4

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

Color values

HEX#9227A4
RGBrgb(146, 39, 164)
HSLhsl(291, 62%, 40%)
HSVhsv(291, 76%, 64%)
CMYKcmyk(11%, 76.2%, 0%, 35.7%)
CIE-LABlab(38.28, 59.83, -44.82)
CIE-LCHlch(38.28, 74.76, 323.17°)
OKLaboklab(49.43% 0.1572 -0.1255)
OKLCHoklch(49.43% 0.201 321.4)
XYZxyz(19.2797, 10.2434, 36.0764)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227A4 #39A427
analogous
#5427A4 #9227A4 #A42778
triadic
#9227A4 #A49227 #27A492
tetradic
#9227A4 #A45427 #39A427 #2778A4
square
#9227A4 #A45427 #39A427 #2778A4
split-complementary
#9227A4 #78A427 #27A454
monochromatic
#3A0F41 #661B73 #9227A4 #BA38D0 #CB6ADC

Accessibility & contrast

On white

6.89
#9227A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9227A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9227A4#FFFFFF#000000##FFFFFF
##9227A41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#934064
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9227a4;
/* rgb */ color: rgb(146, 39, 164);
/* oklch */ color: oklch(49.4% 0.201 321.4);
Tailwind
colors: {
  custom: {
    50: '#b66dc0',
    500: '#9227a4',
    950: '#000000',
  },
}
SCSS
$custom: #9227a4;
$custom-light: #b66dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9227a4",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 291.36,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.20113,
    "h": 321.4
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#9227A4
secondary
#72C265
accent
#E5435A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9227A4

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

Preview Lab → · Contrast checker → · Palette generator →

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