#9834C2#9834C2

#9834C2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.216 H 313.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9834C2
RGBrgb(152, 52, 194)
HSLhsl(282, 58%, 48%)
HSVhsv(282, 73%, 76%)
CMYKcmyk(21.6%, 73.2%, 0%, 23.9%)
CIE-LABlab(42.80, 62.18, -55.23)
CIE-LCHlch(42.80, 83.17, 318.39°)
OKLaboklab(53.46% 0.1491 -0.1559)
OKLCHoklch(53.46% 0.216 313.7)
XYZxyz(23.9128, 13.0272, 52.2833)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834C2 #5EC234
analogous
#5134C2 #9834C2 #C234A5
triadic
#9834C2 #C29834 #34C298
tetradic
#9834C2 #C25134 #5EC234 #34A5C2
square
#9834C2 #C25134 #5EC234 #34A5C2
split-complementary
#9834C2 #A5C234 #34C251
monochromatic
#4C1A61 #722792 #9834C2 #B25FD4 #C98FE1

Accessibility & contrast

On white

5.82
#9834C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9834C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834C2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834C2#FFFFFF#000000##FFFFFF
##9834C21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2967BF
Tritanopia (blue-blind)
#945378
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9834c2;
/* rgb */ color: rgb(152, 52, 194);
/* oklch */ color: oklch(53.5% 0.216 313.7);
Tailwind
colors: {
  custom: {
    50: '#bb75d5',
    500: '#9834c2',
    950: '#000000',
  },
}
SCSS
$custom: #9834c2;
$custom-light: #bb75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9834c2",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 282.254,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.2157,
    "h": 313.7
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#9834C2
secondary
#9BCC86
accent
#E14774
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9834C2

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

Preview Lab → · Contrast checker → · Palette generator →

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