#9834A8#9834A8

#9834A8 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.192 H 321.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9834A8
RGBrgb(152, 52, 168)
HSLhsl(292, 53%, 43%)
HSVhsv(292, 69%, 66%)
CMYKcmyk(9.5%, 69%, 0%, 34.1%)
CIE-LABlab(41.15, 57.09, -42.55)
CIE-LCHlch(41.15, 71.21, 323.30°)
OKLaboklab(51.75% 0.1512 -0.1188)
OKLCHoklch(51.75% 0.192 321.8)
XYZxyz(21.2440, 11.9597, 38.2277)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834A8 #44A834
analogous
#5E34A8 #9834A8 #A8347E
triadic
#9834A8 #A89834 #34A898
tetradic
#9834A8 #A85E34 #44A834 #347EA8
square
#9834A8 #A85E34 #44A834 #347EA8
split-complementary
#9834A8 #7EA834 #34A85E
monochromatic
#43174B #6E2679 #9834A8 #B850C9 #CB7FD7

Accessibility & contrast

On white

6.19
#9834A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9834A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834A8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834A8#FFFFFF#000000##FFFFFF
##9834A81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAB
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#9A486A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9834a8;
/* rgb */ color: rgb(152, 52, 168);
/* oklch */ color: oklch(51.7% 0.192 321.8);
Tailwind
colors: {
  custom: {
    50: '#ba74c2',
    500: '#9834a8',
    950: '#000000',
  },
}
SCSS
$custom: #9834a8;
$custom-light: #ba74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9834a8",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 291.724,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.19227,
    "h": 321.8
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#9834A8
secondary
#81C077
accent
#DC4C60
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9834A8

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

Preview Lab → · Contrast checker → · Palette generator →

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