#9834C1#9834C1

#9834C1 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.215 H 314.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9834C1
RGBrgb(152, 52, 193)
HSLhsl(283, 58%, 48%)
HSVhsv(283, 73%, 76%)
CMYKcmyk(21.2%, 73.1%, 0%, 24.3%)
CIE-LABlab(42.74, 61.98, -54.75)
CIE-LCHlch(42.74, 82.70, 318.54°)
OKLaboklab(53.39% 0.1492 -0.1545)
OKLCHoklch(53.39% 0.215 314)
XYZxyz(23.8009, 12.9824, 51.6938)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834C1 #5DC134
analogous
#5134C1 #9834C1 #C134A3
triadic
#9834C1 #C19834 #34C198
tetradic
#9834C1 #C15134 #5DC134 #34A3C1
square
#9834C1 #C15134 #5DC134 #34A3C1
split-complementary
#9834C1 #A3C134 #34C151
monochromatic
#4C1A61 #722791 #9834C1 #B25ED4 #C98FE1

Accessibility & contrast

On white

5.84
#9834C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9834C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834C1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834C1#FFFFFF#000000##FFFFFF
##9834C11.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#2A67BE
Tritanopia (blue-blind)
#945378
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9834c1;
/* rgb */ color: rgb(152, 52, 193);
/* oklch */ color: oklch(53.4% 0.215 314.0);
Tailwind
colors: {
  custom: {
    50: '#bb75d4',
    500: '#9834c1',
    950: '#000000',
  },
}
SCSS
$custom: #9834c1;
$custom-light: #bb75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9834c1",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 282.553,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.21478,
    "h": 314
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9834C1

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

Preview Lab → · Contrast checker → · Palette generator →

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