#9832B4#9832B4

#9832B4 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.205 H 318.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9832B4
RGBrgb(152, 50, 180)
HSLhsl(287, 57%, 45%)
HSVhsv(287, 72%, 71%)
CMYKcmyk(15.6%, 72.2%, 0%, 29.4%)
CIE-LABlab(41.62, 60.17, -48.93)
CIE-LCHlch(41.62, 77.55, 320.88°)
OKLaboklab(52.32% 0.1526 -0.1374)
OKLCHoklch(52.32% 0.205 318)
XYZxyz(22.3266, 12.2529, 44.3602)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832B4 #4EB432
analogous
#5732B4 #9832B4 #B4328F
triadic
#9832B4 #B49832 #32B498
tetradic
#9832B4 #B45732 #4EB432 #328FB4
square
#9832B4 #B45732 #4EB432 #328FB4
split-complementary
#9832B4 #8FB432 #32B457
monochromatic
#471754 #702584 #9832B4 #B554CF #CA84DD

Accessibility & contrast

On white

6.09
#9832B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9832B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9832B4#FFFFFF#000000##FFFFFF
##9832B41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#974C70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9832b4;
/* rgb */ color: rgb(152, 50, 180);
/* oklch */ color: oklch(52.3% 0.205 318.0);
Tailwind
colors: {
  custom: {
    50: '#ba74cb',
    500: '#9832b4',
    950: '#000000',
  },
}
SCSS
$custom: #9832b4;
$custom-light: #ba74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9832b4",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 287.077,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.20533,
    "h": 318
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#9832B4
secondary
#8CC67C
accent
#E04869
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9832B4

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

Preview Lab → · Contrast checker → · Palette generator →

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