#9834AE#9834AE

#9834AE is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.198 H 319.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9834AE
RGBrgb(152, 52, 174)
HSLhsl(289, 54%, 44%)
HSVhsv(289, 70%, 68%)
CMYKcmyk(12.6%, 70.1%, 0%, 31.8%)
CIE-LABlab(41.51, 58.23, -45.54)
CIE-LCHlch(41.51, 73.93, 321.97°)
OKLaboklab(52.13% 0.151 -0.1275)
OKLCHoklch(52.13% 0.198 319.8)
XYZxyz(21.8159, 12.1884, 41.2397)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834AE #4AAE34
analogous
#5B34AE #9834AE #AE3487
triadic
#9834AE #AE9834 #34AE98
tetradic
#9834AE #AE5B34 #4AAE34 #3487AE
square
#9834AE #AE5B34 #4AAE34 #3487AE
split-complementary
#9834AE #87AE34 #34AE5B
monochromatic
#461850 #6F267F #9834AE #B653CC #CA83DA

Accessibility & contrast

On white

6.11
#9834AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9834AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834AE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834AE#FFFFFF#000000##FFFFFF
##9834AE1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3E65AB
Tritanopia (blue-blind)
#984B6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9834ae;
/* rgb */ color: rgb(152, 52, 174);
/* oklch */ color: oklch(52.1% 0.198 319.8);
Tailwind
colors: {
  custom: {
    50: '#ba74c7',
    500: '#9834ae',
    950: '#000000',
  },
}
SCSS
$custom: #9834ae;
$custom-light: #ba74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9834ae",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 289.18,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.1976,
    "h": 319.8
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#9834AE
secondary
#88C37B
accent
#DD4A65
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9834AE

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

Preview Lab → · Contrast checker → · Palette generator →

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