#9832BA#9832BA

#9832BA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.211 H 316.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9832BA
RGBrgb(152, 50, 186)
HSLhsl(285, 58%, 46%)
HSVhsv(285, 73%, 73%)
CMYKcmyk(18.3%, 73.1%, 0%, 27.1%)
CIE-LABlab(42.00, 61.34, -51.84)
CIE-LCHlch(42.00, 80.31, 319.80°)
OKLaboklab(52.72% 0.152 -0.1459)
OKLCHoklch(52.72% 0.211 316.2)
XYZxyz(22.9510, 12.5027, 47.6492)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832BA #54BA32
analogous
#5432BA #9832BA #BA3298
triadic
#9832BA #BA9832 #32BA98
tetradic
#9832BA #BA5432 #54BA32 #3298BA
square
#9832BA #BA5432 #54BA32 #3298BA
split-complementary
#9832BA #98BA32 #32BA54
monochromatic
#49185A #71258A #9832BA #B357D2 #C988DF

Accessibility & contrast

On white

6.00
#9832BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9832BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9832BA#FFFFFF#000000##FFFFFF
##9832BA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#964F73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9832ba;
/* rgb */ color: rgb(152, 50, 186);
/* oklch */ color: oklch(52.7% 0.211 316.2);
Tailwind
colors: {
  custom: {
    50: '#ba74cf',
    500: '#9832ba',
    950: '#000000',
  },
}
SCSS
$custom: #9832ba;
$custom-light: #ba74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9832ba",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 285,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.21069,
    "h": 316.2
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#9832BA
secondary
#92C97F
accent
#E1476D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9832BA

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

Preview Lab → · Contrast checker → · Palette generator →

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