#9834C4#9834C4

#9834C4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.218 H 313.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9834C4
RGBrgb(152, 52, 196)
HSLhsl(282, 58%, 49%)
HSVhsv(282, 73%, 77%)
CMYKcmyk(22.4%, 73.5%, 0%, 23.1%)
CIE-LABlab(42.94, 62.59, -56.17)
CIE-LCHlch(42.94, 84.10, 318.09°)
OKLaboklab(53.6% 0.1488 -0.1587)
OKLCHoklch(53.6% 0.218 313.2)
XYZxyz(24.1389, 13.1177, 53.4742)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834C4 #60C434
analogous
#5034C4 #9834C4 #C434A8
triadic
#9834C4 #C49834 #34C498
tetradic
#9834C4 #C45034 #60C434 #34A8C4
square
#9834C4 #C45034 #60C434 #34A8C4
split-complementary
#9834C4 #A8C434 #34C450
monochromatic
#4D1A63 #722794 #9834C4 #B160D5 #C991E2

Accessibility & contrast

On white

5.80
#9834C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9834C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834C4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834C4#FFFFFF#000000##FFFFFF
##9834C41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#2668C1
Tritanopia (blue-blind)
#93547A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9834c4;
/* rgb */ color: rgb(152, 52, 196);
/* oklch */ color: oklch(53.6% 0.218 313.2);
Tailwind
colors: {
  custom: {
    50: '#bb75d7',
    500: '#9834c4',
    950: '#000000',
  },
}
SCSS
$custom: #9834c4;
$custom-light: #bb75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9834c4",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 281.667,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.21753,
    "h": 313.2
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#9834C4
secondary
#9CCC87
accent
#E14776
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9834C4

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

Preview Lab → · Contrast checker → · Palette generator →

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