#9229AC#9229AC

#9229AC is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.206 H 318.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9229AC
RGBrgb(146, 41, 172)
HSLhsl(288, 62%, 42%)
HSVhsv(288, 76%, 67%)
CMYKcmyk(15.1%, 76.2%, 0%, 32.5%)
CIE-LABlab(39.03, 60.65, -48.39)
CIE-LCHlch(39.03, 77.59, 321.42°)
OKLaboklab(50.13% 0.1546 -0.136)
OKLCHoklch(50.13% 0.206 318.7)
XYZxyz(20.0924, 10.6764, 40.0241)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229AC #43AC29
analogous
#5129AC #9229AC #AC2984
triadic
#9229AC #AC9229 #29AC92
tetradic
#9229AC #AC5129 #43AC29 #2984AC
square
#9229AC #AC5129 #43AC29 #2984AC
split-complementary
#9229AC #84AC29 #29AC51
monochromatic
#3E1149 #681D7B #9229AC #B541D2 #C872DD

Accessibility & contrast

On white

6.70
#9229AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9229AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229AC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229AC#FFFFFF#000000##FFFFFF
##9229AC1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#315FA9
Tritanopia (blue-blind)
#924569
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9229ac;
/* rgb */ color: rgb(146, 41, 172);
/* oklch */ color: oklch(50.1% 0.206 318.7);
Tailwind
colors: {
  custom: {
    50: '#b66fc5',
    500: '#9229ac',
    950: '#000000',
  },
}
SCSS
$custom: #9229ac;
$custom-light: #b66fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9229ac",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 288.092,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5013,
    "c": 0.20586,
    "h": 318.7
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#9229AC
secondary
#7EC56C
accent
#E54363
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9229AC

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

Preview Lab → · Contrast checker → · Palette generator →

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