#9229A2#9229A2

#9229A2 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.197 H 322.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9229A2
RGBrgb(146, 41, 162)
HSLhsl(292, 60%, 40%)
HSVhsv(292, 75%, 64%)
CMYKcmyk(9.9%, 74.7%, 0%, 36.5%)
CIE-LABlab(38.39, 58.78, -43.44)
CIE-LCHlch(38.39, 73.09, 323.54°)
OKLaboklab(49.47% 0.1555 -0.1215)
OKLCHoklch(49.47% 0.197 322)
XYZxyz(19.1679, 10.3066, 35.1552)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229A2 #39A229
analogous
#5529A2 #9229A2 #A22976
triadic
#9229A2 #A29229 #29A292
tetradic
#9229A2 #A25529 #39A229 #2976A2
square
#9229A2 #A25529 #39A229 #2976A2
split-complementary
#9229A2 #76A229 #29A255
monochromatic
#3A1040 #661D71 #9229A2 #BA3BCD #CB6CDA

Accessibility & contrast

On white

6.86
#9229A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9229A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229A2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229A2#FFFFFF#000000##FFFFFF
##9229A21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#3A5E9F
Tritanopia (blue-blind)
#944064
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9229a2;
/* rgb */ color: rgb(146, 41, 162);
/* oklch */ color: oklch(49.5% 0.197 322.0);
Tailwind
colors: {
  custom: {
    50: '#b66ebe',
    500: '#9229a2',
    950: '#000000',
  },
}
SCSS
$custom: #9229a2;
$custom-light: #b66ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9229a2",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 292.066,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.19733,
    "h": 322
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#9229A2
secondary
#72C067
accent
#E3455A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9229A2

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

Preview Lab → · Contrast checker → · Palette generator →

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