#9834C7#9834C7

#9834C7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.220 H 312.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9834C7
RGBrgb(152, 52, 199)
HSLhsl(281, 59%, 49%)
HSVhsv(281, 74%, 78%)
CMYKcmyk(23.6%, 73.9%, 0%, 22%)
CIE-LABlab(43.15, 63.20, -57.59)
CIE-LCHlch(43.15, 85.50, 317.66°)
OKLaboklab(53.81% 0.1483 -0.1628)
OKLCHoklch(53.81% 0.22 312.3)
XYZxyz(24.4838, 13.2556, 55.2906)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834C7 #63C734
analogous
#4E34C7 #9834C7 #C734AD
triadic
#9834C7 #C79834 #34C798
tetradic
#9834C7 #C74E34 #63C734 #34ADC7
square
#9834C7 #C74E34 #63C734 #34ADC7
split-complementary
#9834C7 #ADC734 #34C74E
monochromatic
#4E1B66 #732796 #9834C7 #B162D6 #C993E3

Accessibility & contrast

On white

5.75
#9834C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9834C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834C7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834C7#FFFFFF#000000##FFFFFF
##9834C71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#2068C4
Tritanopia (blue-blind)
#92557B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9834c7;
/* rgb */ color: rgb(152, 52, 199);
/* oklch */ color: oklch(53.8% 0.220 312.3);
Tailwind
colors: {
  custom: {
    50: '#bb75d9',
    500: '#9834c7',
    950: '#000000',
  },
}
SCSS
$custom: #9834c7;
$custom-light: #bb75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9834c7",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 280.816,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.22027,
    "h": 312.3
  },
  "luminance": 0.13255
}

Semantic roles & 50–950 ramp

primary
#9834C7
secondary
#9FCE89
accent
#E24678
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9834C7

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

Preview Lab → · Contrast checker → · Palette generator →

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