#9229AD#9229AD

#9229AD is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.207 H 318.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9229AD
RGBrgb(146, 41, 173)
HSLhsl(288, 62%, 42%)
HSVhsv(288, 76%, 68%)
CMYKcmyk(15.6%, 76.3%, 0%, 32.2%)
CIE-LABlab(39.10, 60.84, -48.88)
CIE-LCHlch(39.10, 78.05, 321.22°)
OKLaboklab(50.2% 0.1544 -0.1374)
OKLCHoklch(50.2% 0.207 318.3)
XYZxyz(20.1888, 10.7149, 40.5318)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229AD #44AD29
analogous
#5029AD #9229AD #AD2986
triadic
#9229AD #AD9229 #29AD92
tetradic
#9229AD #AD5029 #44AD29 #2986AD
square
#9229AD #AD5029 #44AD29 #2986AD
split-complementary
#9229AD #86AD29 #29AD50
monochromatic
#3E124A #681D7C #9229AD #B441D2 #C873DE

Accessibility & contrast

On white

6.68
#9229AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9229AD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229AD#FFFFFF#000000##FFFFFF
##9229AD1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#91456A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9229ad;
/* rgb */ color: rgb(146, 41, 173);
/* oklch */ color: oklch(50.2% 0.207 318.3);
Tailwind
colors: {
  custom: {
    50: '#b66fc6',
    500: '#9229ad',
    950: '#000000',
  },
}
SCSS
$custom: #9229ad;
$custom-light: #b66fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9229ad",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 287.727,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.20671,
    "h": 318.3
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

primary
#9229AD
secondary
#7FC56D
accent
#E54364
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9229AD

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

Preview Lab → · Contrast checker → · Palette generator →

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