#9832C2#9832C2

#9832C2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.218 H 313.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9832C2
RGBrgb(152, 50, 194)
HSLhsl(283, 59%, 48%)
HSVhsv(283, 74%, 76%)
CMYKcmyk(21.6%, 74.2%, 0%, 23.9%)
CIE-LABlab(42.54, 62.93, -55.65)
CIE-LCHlch(42.54, 84.01, 318.51°)
OKLaboklab(53.27% 0.1509 -0.1572)
OKLCHoklch(53.27% 0.218 313.8)
XYZxyz(23.8254, 12.8524, 52.2542)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832C2 #5CC232
analogous
#5032C2 #9832C2 #C232A4
triadic
#9832C2 #C29832 #32C298
tetradic
#9832C2 #C25032 #5CC232 #32A4C2
square
#9832C2 #C25032 #5CC232 #32A4C2
split-complementary
#9832C2 #A4C232 #32C250
monochromatic
#4C1961 #722591 #9832C2 #B25CD5 #C98DE2

Accessibility & contrast

On white

5.88
#9832C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9832C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832C2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832C2#FFFFFF#000000##FFFFFF
##9832C21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2667BF
Tritanopia (blue-blind)
#945278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9832c2;
/* rgb */ color: rgb(152, 50, 194);
/* oklch */ color: oklch(53.3% 0.218 313.8);
Tailwind
colors: {
  custom: {
    50: '#bb74d5',
    500: '#9832c2',
    950: '#000000',
  },
}
SCSS
$custom: #9832c2;
$custom-light: #bb74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9832c2",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 282.5,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53268,
    "c": 0.21789,
    "h": 313.8
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#9832C2
secondary
#99CC84
accent
#E24673
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9832C2

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

Preview Lab → · Contrast checker → · Palette generator →

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