#9832AA#9832AA

#9832AA is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.197 H 321.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9832AA
RGBrgb(152, 50, 170)
HSLhsl(291, 55%, 43%)
HSVhsv(291, 71%, 67%)
CMYKcmyk(10.6%, 70.6%, 0%, 33.3%)
CIE-LABlab(40.99, 58.26, -44.00)
CIE-LCHlch(40.99, 73.01, 322.94°)
OKLaboklab(51.67% 0.1532 -0.123)
OKLCHoklch(51.67% 0.197 321.2)
XYZxyz(21.3444, 11.8600, 39.1874)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832AA #44AA32
analogous
#5C32AA #9832AA #AA3280
triadic
#9832AA #AA9832 #32AA98
tetradic
#9832AA #AA5C32 #44AA32 #3280AA
square
#9832AA #AA5C32 #44AA32 #3280AA
split-complementary
#9832AA #80AA32 #32AA5C
monochromatic
#43164B #6E247B #9832AA #B84ECB #CB7DD9

Accessibility & contrast

On white

6.23
#9832AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9832AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832AA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832AA#FFFFFF#000000##FFFFFF
##9832AA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4064A7
Tritanopia (blue-blind)
#99486B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9832aa;
/* rgb */ color: rgb(152, 50, 170);
/* oklch */ color: oklch(51.7% 0.197 321.2);
Tailwind
colors: {
  custom: {
    50: '#ba73c4',
    500: '#9832aa',
    950: '#000000',
  },
}
SCSS
$custom: #9832aa;
$custom-light: #ba73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9832aa",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 291,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.1965,
    "h": 321.2
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#9832AA
secondary
#81C276
accent
#DE4A60
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9832AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9832AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva