#9834AC#9834AC

#9834AC is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.196 H 320.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9834AC
RGBrgb(152, 52, 172)
HSLhsl(290, 54%, 44%)
HSVhsv(290, 70%, 67%)
CMYKcmyk(11.6%, 69.8%, 0%, 32.5%)
CIE-LABlab(41.39, 57.85, -44.55)
CIE-LCHlch(41.39, 73.02, 322.40°)
OKLaboklab(52% 0.1511 -0.1246)
OKLCHoklch(52% 0.196 320.5)
XYZxyz(21.6224, 12.1110, 40.2205)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834AC #48AC34
analogous
#5C34AC #9834AC #AC3484
triadic
#9834AC #AC9834 #34AC98
tetradic
#9834AC #AC5C34 #48AC34 #3484AC
square
#9834AC #AC5C34 #48AC34 #3484AC
split-complementary
#9834AC #84AC34 #34AC5C
monochromatic
#45184E #6E267D #9834AC #B752CB #CA81D9

Accessibility & contrast

On white

6.14
#9834AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9834AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834AC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834AC#FFFFFF#000000##FFFFFF
##9834AC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#994A6C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9834ac;
/* rgb */ color: rgb(152, 52, 172);
/* oklch */ color: oklch(52.0% 0.196 320.5);
Tailwind
colors: {
  custom: {
    50: '#ba74c5',
    500: '#9834ac',
    950: '#000000',
  },
}
SCSS
$custom: #9834ac;
$custom-light: #ba74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9834ac",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 290,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.19582,
    "h": 320.5
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#9834AC
secondary
#86C279
accent
#DD4B63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9834AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9834AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva