#9834BF#9834BF

#9834BF is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.213 H 314.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9834BF
RGBrgb(152, 52, 191)
HSLhsl(283, 57%, 48%)
HSVhsv(283, 73%, 75%)
CMYKcmyk(20.4%, 72.8%, 0%, 25.1%)
CIE-LABlab(42.60, 61.57, -53.80)
CIE-LCHlch(42.60, 81.77, 318.85°)
OKLaboklab(53.25% 0.1494 -0.1517)
OKLCHoklch(53.25% 0.213 314.6)
XYZxyz(23.5793, 12.8938, 50.5268)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9834BF #5BBF34
analogous
#5234BF #9834BF #BF34A1
triadic
#9834BF #BF9834 #34BF98
tetradic
#9834BF #BF5234 #5BBF34 #34A1BF
square
#9834BF #BF5234 #5BBF34 #34A1BF
split-complementary
#9834BF #A1BF34 #34BF52
monochromatic
#4B1A5F #72278F #9834BF #B25DD3 #C98DE0

Accessibility & contrast

On white

5.87
#9834BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9834BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9834BF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9834BF#FFFFFF#000000##FFFFFF
##9834BF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#955277
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9834bf;
/* rgb */ color: rgb(152, 52, 191);
/* oklch */ color: oklch(53.2% 0.213 314.6);
Tailwind
colors: {
  custom: {
    50: '#bb75d3',
    500: '#9834bf',
    950: '#000000',
  },
}
SCSS
$custom: #9834bf;
$custom-light: #bb75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9834bf",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 283.165,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.21296,
    "h": 314.6
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#9834BF
secondary
#98CA84
accent
#E04772
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9834BF

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

Preview Lab → · Contrast checker → · Palette generator →

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