#9832C8#9832C8

#9832C8 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.223 H 312.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9832C8
RGBrgb(152, 50, 200)
HSLhsl(281, 60%, 49%)
HSVhsv(281, 75%, 78%)
CMYKcmyk(24%, 75%, 0%, 21.6%)
CIE-LABlab(42.95, 64.15, -58.48)
CIE-LCHlch(42.95, 86.80, 317.65°)
OKLaboklab(53.69% 0.15 -0.1654)
OKLCHoklch(53.69% 0.223 312.2)
XYZxyz(24.5129, 13.1274, 55.8749)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9832C8 #62C832
analogous
#4D32C8 #9832C8 #C832AD
triadic
#9832C8 #C89832 #32C898
tetradic
#9832C8 #C84D32 #62C832 #32ADC8
square
#9832C8 #C84D32 #62C832 #32ADC8
split-complementary
#9832C8 #ADC832 #32C84D
monochromatic
#4E1A66 #732697 #9832C8 #B160D7 #C991E3

Accessibility & contrast

On white

5.79
#9832C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9832C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9832C8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9832C8#FFFFFF#000000##FFFFFF
##9832C81.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#1B67C5
Tritanopia (blue-blind)
#92557B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9832c8;
/* rgb */ color: rgb(152, 50, 200);
/* oklch */ color: oklch(53.7% 0.223 312.2);
Tailwind
colors: {
  custom: {
    50: '#bb74da',
    500: '#9832c8',
    950: '#000000',
  },
}
SCSS
$custom: #9832c8;
$custom-light: #bb74da;
$custom-dark: #000000;
JSON
{
  "hex": "#9832c8",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 280.8,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.22331,
    "h": 312.2
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#9832C8
secondary
#9ECE88
accent
#E34577
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9832C8

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

Preview Lab → · Contrast checker → · Palette generator →

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