#9834C8#9834C8

#9834C8 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.221 H 312.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9834C8
RGBrgb(152, 52, 200)
HSLhsl(281, 59%, 49%)
HSVhsv(281, 74%, 78%)
CMYKcmyk(24%, 74%, 0%, 21.6%)
CIE-LABlab(43.22, 63.41, -58.05)
CIE-LCHlch(43.22, 85.97, 317.52°)
OKLaboklab(53.88% 0.1482 -0.1642)
OKLCHoklch(53.88% 0.221 312.1)
XYZxyz(24.6003, 13.3022, 55.9041)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834C8 #64C834
analogous
#4E34C8 #9834C8 #C834AE
triadic
#9834C8 #C89834 #34C898
tetradic
#9834C8 #C84E34 #64C834 #34AEC8
square
#9834C8 #C84E34 #64C834 #34AEC8
split-complementary
#9834C8 #AEC834 #34C84E
monochromatic
#4E1B67 #732797 #9834C8 #B163D6 #C993E3

Accessibility & contrast

On white

5.74
#9834C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9834C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834C8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834C8#FFFFFF#000000##FFFFFF
##9834C81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#92567C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9834c8;
/* rgb */ color: rgb(152, 52, 200);
/* oklch */ color: oklch(53.9% 0.221 312.1);
Tailwind
colors: {
  custom: {
    50: '#bb75da',
    500: '#9834c8',
    950: '#000000',
  },
}
SCSS
$custom: #9834c8;
$custom-light: #bb75da;
$custom-dark: #000000;
JSON
{
  "hex": "#9834c8",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 280.541,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.22119,
    "h": 312.1
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#9834C8
secondary
#A0CE8A
accent
#E24678
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9834C8

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

Preview Lab → · Contrast checker → · Palette generator →

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