#9834CA#9834CA

#9834CA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.223 H 311.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9834CA
RGBrgb(152, 52, 202)
HSLhsl(280, 59%, 50%)
HSVhsv(280, 74%, 79%)
CMYKcmyk(24.8%, 74.3%, 0%, 20.8%)
CIE-LABlab(43.35, 63.82, -58.99)
CIE-LCHlch(43.35, 86.90, 317.25°)
OKLaboklab(54.02% 0.1479 -0.1669)
OKLCHoklch(54.02% 0.223 311.5)
XYZxyz(24.8356, 13.3963, 57.1431)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834CA #66CA34
analogous
#4D34CA #9834CA #CA34B1
triadic
#9834CA #CA9834 #34CA98
tetradic
#9834CA #CA4D34 #66CA34 #34B1CA
square
#9834CA #CA4D34 #66CA34 #34B1CA
split-complementary
#9834CA #B1CA34 #34CA4D
monochromatic
#4F1B69 #732799 #9834CA #B164D7 #C995E4

Accessibility & contrast

On white

5.71
#9834CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9834CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834CA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834CA#FFFFFF#000000##FFFFFF
##9834CA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#1A68C7
Tritanopia (blue-blind)
#92577D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9834ca;
/* rgb */ color: rgb(152, 52, 202);
/* oklch */ color: oklch(54.0% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#bb75db',
    500: '#9834ca',
    950: '#000000',
  },
}
SCSS
$custom: #9834ca;
$custom-light: #bb75db;
$custom-dark: #000000;
JSON
{
  "hex": "#9834ca",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54019,
    "c": 0.22302,
    "h": 311.5
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#9834CA
secondary
#A2CF8B
accent
#E2467A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9834CA

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

Preview Lab → · Contrast checker → · Palette generator →

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