#9832B8#9832B8

#9832B8 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.209 H 316.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9832B8
RGBrgb(152, 50, 184)
HSLhsl(286, 57%, 46%)
HSVhsv(286, 73%, 72%)
CMYKcmyk(17.4%, 72.8%, 0%, 27.8%)
CIE-LABlab(41.87, 60.95, -50.87)
CIE-LCHlch(41.87, 79.39, 320.15°)
OKLaboklab(52.58% 0.1522 -0.1431)
OKLCHoklch(52.58% 0.209 316.8)
XYZxyz(22.7399, 12.4182, 46.5372)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832B8 #52B832
analogous
#5532B8 #9832B8 #B83295
triadic
#9832B8 #B89832 #32B898
tetradic
#9832B8 #B85532 #52B832 #3295B8
square
#9832B8 #B85532 #52B832 #3295B8
split-complementary
#9832B8 #95B832 #32B855
monochromatic
#481858 #702588 #9832B8 #B456D1 #C986DE

Accessibility & contrast

On white

6.03
#9832B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9832B8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832B8#FFFFFF#000000##FFFFFF
##9832B81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3366B5
Tritanopia (blue-blind)
#964E72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9832b8;
/* rgb */ color: rgb(152, 50, 184);
/* oklch */ color: oklch(52.6% 0.209 316.8);
Tailwind
colors: {
  custom: {
    50: '#ba74ce',
    500: '#9832b8',
    950: '#000000',
  },
}
SCSS
$custom: #9832b8;
$custom-light: #ba74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9832b8",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 285.672,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.2089,
    "h": 316.8
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#9832B8
secondary
#90C87E
accent
#E1476C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9832B8

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

Preview Lab → · Contrast checker → · Palette generator →

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