#9832A9#9832A9

#9832A9 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.196 H 321.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9832A9
RGBrgb(152, 50, 169)
HSLhsl(291, 54%, 43%)
HSVhsv(291, 70%, 66%)
CMYKcmyk(10.1%, 70.4%, 0%, 33.7%)
CIE-LABlab(40.93, 58.07, -43.50)
CIE-LCHlch(40.93, 72.56, 323.16°)
OKLaboklab(51.61% 0.1533 -0.1215)
OKLCHoklch(51.61% 0.196 321.6)
XYZxyz(21.2501, 11.8223, 38.6911)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832A9 #43A932
analogous
#5D32A9 #9832A9 #A9327E
triadic
#9832A9 #A99832 #32A998
tetradic
#9832A9 #A95D32 #43A932 #327EA9
square
#9832A9 #A95D32 #43A932 #327EA9
split-complementary
#9832A9 #7EA932 #32A95D
monochromatic
#43164B #6E247A #9832A9 #B94ECB #CB7DD9

Accessibility & contrast

On white

6.24
#9832A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9832A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9832A9#FFFFFF#000000##FFFFFF
##9832A91.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#9A476A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9832a9;
/* rgb */ color: rgb(152, 50, 169);
/* oklch */ color: oklch(51.6% 0.196 321.6);
Tailwind
colors: {
  custom: {
    50: '#ba73c3',
    500: '#9832a9',
    950: '#000000',
  },
}
SCSS
$custom: #9832a9;
$custom-light: #ba73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9832a9",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 291.429,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51611,
    "c": 0.19562,
    "h": 321.6
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#9832A9
secondary
#80C176
accent
#DE4A5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9832A9

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

Preview Lab → · Contrast checker → · Palette generator →

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