#9832B7#9832B7

#9832B7 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.208 H 317.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9832B7
RGBrgb(152, 50, 183)
HSLhsl(286, 57%, 46%)
HSVhsv(286, 73%, 72%)
CMYKcmyk(16.9%, 72.7%, 0%, 28.2%)
CIE-LABlab(41.81, 60.75, -50.39)
CIE-LCHlch(41.81, 78.93, 320.33°)
OKLaboklab(52.52% 0.1523 -0.1417)
OKLCHoklch(52.52% 0.208 317.1)
XYZxyz(22.6355, 12.3765, 45.9871)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832B7 #51B732
analogous
#5532B7 #9832B7 #B73293
triadic
#9832B7 #B79832 #32B798
tetradic
#9832B7 #B75532 #51B732 #3293B7
square
#9832B7 #B75532 #51B732 #3293B7
split-complementary
#9832B7 #93B732 #32B755
monochromatic
#481857 #702587 #9832B7 #B456D1 #C986DE

Accessibility & contrast

On white

6.04
#9832B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9832B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832B7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832B7#FFFFFF#000000##FFFFFF
##9832B71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3466B4
Tritanopia (blue-blind)
#964D72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9832b7;
/* rgb */ color: rgb(152, 50, 183);
/* oklch */ color: oklch(52.5% 0.208 317.1);
Tailwind
colors: {
  custom: {
    50: '#ba74cd',
    500: '#9832b7',
    950: '#000000',
  },
}
SCSS
$custom: #9832b7;
$custom-light: #ba74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9832b7",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 286.015,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.208,
    "h": 317.1
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#9832B7
secondary
#8FC77D
accent
#E0476B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9832B7

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

Preview Lab → · Contrast checker → · Palette generator →

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