#9229AE#9229AE

#9229AE is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.208 H 318.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9229AE
RGBrgb(146, 41, 174)
HSLhsl(287, 62%, 42%)
HSVhsv(287, 76%, 68%)
CMYKcmyk(16.1%, 76.4%, 0%, 31.8%)
CIE-LABlab(39.16, 61.04, -49.37)
CIE-LCHlch(39.16, 78.50, 321.03°)
OKLaboklab(50.27% 0.1543 -0.1388)
OKLCHoklch(50.27% 0.208 318)
XYZxyz(20.2859, 10.7538, 41.0433)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229AE #45AE29
analogous
#4F29AE #9229AE #AE2988
triadic
#9229AE #AE9229 #29AE92
tetradic
#9229AE #AE4F29 #45AE29 #2988AE
square
#9229AE #AE4F29 #45AE29 #2988AE
split-complementary
#9229AE #88AE29 #29AE4F
monochromatic
#3F124B #681D7C #9229AE #B442D2 #C873DE

Accessibility & contrast

On white

6.67
#9229AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9229AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229AE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229AE#FFFFFF#000000##FFFFFF
##9229AE1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#2F5FAB
Tritanopia (blue-blind)
#91466A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9229ae;
/* rgb */ color: rgb(146, 41, 174);
/* oklch */ color: oklch(50.3% 0.208 318.0);
Tailwind
colors: {
  custom: {
    50: '#b66fc7',
    500: '#9229ae',
    950: '#000000',
  },
}
SCSS
$custom: #9229ae;
$custom-light: #b66fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9229ae",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 287.368,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.20758,
    "h": 318
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#9229AE
secondary
#80C56D
accent
#E54365
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9229AE

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

Preview Lab → · Contrast checker → · Palette generator →

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