#9832B2#9832B2

#9832B2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.204 H 318.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9832B2
RGBrgb(152, 50, 178)
HSLhsl(288, 56%, 45%)
HSVhsv(288, 72%, 70%)
CMYKcmyk(14.6%, 71.9%, 0%, 30.2%)
CIE-LABlab(41.49, 59.78, -47.95)
CIE-LCHlch(41.49, 76.63, 321.26°)
OKLaboklab(52.19% 0.1527 -0.1346)
OKLCHoklch(52.19% 0.204 318.6)
XYZxyz(22.1243, 12.1720, 43.2949)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832B2 #4CB232
analogous
#5832B2 #9832B2 #B2328C
triadic
#9832B2 #B29832 #32B298
tetradic
#9832B2 #B25832 #4CB232 #328CB2
square
#9832B2 #B25832 #4CB232 #328CB2
split-complementary
#9832B2 #8CB232 #32B258
monochromatic
#461752 #6F2582 #9832B2 #B553CF #CA82DC

Accessibility & contrast

On white

6.11
#9832B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9832B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9832B2#FFFFFF#000000##FFFFFF
##9832B21.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3965AF
Tritanopia (blue-blind)
#984B6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9832b2;
/* rgb */ color: rgb(152, 50, 178);
/* oklch */ color: oklch(52.2% 0.204 318.6);
Tailwind
colors: {
  custom: {
    50: '#ba74ca',
    500: '#9832b2',
    950: '#000000',
  },
}
SCSS
$custom: #9832b2;
$custom-light: #ba74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9832b2",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 287.813,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.20356,
    "h": 318.6
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#9832B2
secondary
#8AC57B
accent
#DF4867
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9832B2

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

Preview Lab → · Contrast checker → · Palette generator →

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