#9832B5#9832B5

#9832B5 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.206 H 317.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9832B5
RGBrgb(152, 50, 181)
HSLhsl(287, 57%, 45%)
HSVhsv(287, 72%, 71%)
CMYKcmyk(16%, 72.4%, 0%, 29%)
CIE-LABlab(41.68, 60.36, -49.42)
CIE-LCHlch(41.68, 78.01, 320.69°)
OKLaboklab(52.38% 0.1525 -0.1388)
OKLCHoklch(52.38% 0.206 317.7)
XYZxyz(22.4288, 12.2938, 44.8986)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832B5 #4FB532
analogous
#5732B5 #9832B5 #B53290
triadic
#9832B5 #B59832 #32B598
tetradic
#9832B5 #B55732 #4FB532 #3290B5
square
#9832B5 #B55732 #4FB532 #3290B5
split-complementary
#9832B5 #90B532 #32B557
monochromatic
#471855 #702585 #9832B5 #B554D0 #C984DD

Accessibility & contrast

On white

6.07
#9832B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9832B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9832B5#FFFFFF#000000##FFFFFF
##9832B51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#974D71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9832b5;
/* rgb */ color: rgb(152, 50, 181);
/* oklch */ color: oklch(52.4% 0.206 317.7);
Tailwind
colors: {
  custom: {
    50: '#ba74cc',
    500: '#9832b5',
    950: '#000000',
  },
}
SCSS
$custom: #9832b5;
$custom-light: #ba74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9832b5",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 286.718,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.20623,
    "h": 317.7
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#9832B5
secondary
#8DC77C
accent
#E0486A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9832B5

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

Preview Lab → · Contrast checker → · Palette generator →

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