#9229A4#9229A4

#9229A4 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 321.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9229A4
RGBrgb(146, 41, 164)
HSLhsl(291, 60%, 40%)
HSVhsv(291, 75%, 64%)
CMYKcmyk(11%, 75%, 0%, 35.7%)
CIE-LABlab(38.51, 59.15, -44.44)
CIE-LCHlch(38.51, 73.98, 323.09°)
OKLaboklab(49.6% 0.1554 -0.1244)
OKLCHoklch(49.6% 0.199 321.3)
XYZxyz(19.3471, 10.3783, 36.0989)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229A4 #3BA429
analogous
#5529A4 #9229A4 #A42978
triadic
#9229A4 #A49229 #29A492
tetradic
#9229A4 #A45529 #3BA429 #2978A4
square
#9229A4 #A45529 #3BA429 #2978A4
split-complementary
#9229A4 #78A429 #29A455
monochromatic
#3B1142 #661D73 #9229A4 #B93CCE #CA6DDA

Accessibility & contrast

On white

6.83
#9229A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9229A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229A4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229A4#FFFFFF#000000##FFFFFF
##9229A41.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#934165
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9229a4;
/* rgb */ color: rgb(146, 41, 164);
/* oklch */ color: oklch(49.6% 0.199 321.3);
Tailwind
colors: {
  custom: {
    50: '#b66ebf',
    500: '#9229a4',
    950: '#000000',
  },
}
SCSS
$custom: #9229a4;
$custom-light: #b66ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9229a4",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 291.22,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49598,
    "c": 0.19903,
    "h": 321.3
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#9229A4
secondary
#75C168
accent
#E3455C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9229A4

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

Preview Lab → · Contrast checker → · Palette generator →

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