#9229A5#9229A5

#9229A5 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.200 H 321.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9229A5
RGBrgb(146, 41, 165)
HSLhsl(291, 60%, 40%)
HSVhsv(291, 75%, 65%)
CMYKcmyk(11.5%, 75.2%, 0%, 35.3%)
CIE-LABlab(38.58, 59.34, -44.93)
CIE-LCHlch(38.58, 74.43, 322.87°)
OKLaboklab(49.66% 0.1553 -0.1258)
OKLCHoklch(49.66% 0.2 321)
XYZxyz(19.4377, 10.4145, 36.5764)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229A5 #3CA529
analogous
#5429A5 #9229A5 #A5297A
triadic
#9229A5 #A59229 #29A592
tetradic
#9229A5 #A55429 #3CA529 #297AA5
square
#9229A5 #A55429 #3CA529 #297AA5
split-complementary
#9229A5 #7AA529 #29A554
monochromatic
#3B1143 #671D74 #9229A5 #B83DCF #CA6EDB

Accessibility & contrast

On white

6.81
#9229A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9229A5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229A5#FFFFFF#000000##FFFFFF
##9229A51.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#385FA2
Tritanopia (blue-blind)
#934165
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9229a5;
/* rgb */ color: rgb(146, 41, 165);
/* oklch */ color: oklch(49.7% 0.200 321.0);
Tailwind
colors: {
  custom: {
    50: '#b66ec0',
    500: '#9229a5',
    950: '#000000',
  },
}
SCSS
$custom: #9229a5;
$custom-light: #b66ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9229a5",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 290.806,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.19987,
    "h": 321
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#9229A5
secondary
#76C268
accent
#E3445D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9229A5

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

Preview Lab → · Contrast checker → · Palette generator →

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