#9846BB#9846BB

#9846BB is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.0% C 0.186 H 314.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9846BB
RGBrgb(152, 70, 187)
HSLhsl(282, 46%, 50%)
HSVhsv(282, 63%, 73%)
CMYKcmyk(18.7%, 62.6%, 0%, 26.7%)
CIE-LABlab(45.14, 52.95, -47.39)
CIE-LCHlch(45.14, 71.06, 318.17°)
OKLaboklab(54.99% 0.13 -0.133)
OKLCHoklch(54.99% 0.186 314.3)
XYZxyz(24.1072, 14.6443, 48.5608)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846BB #69BB46
analogous
#5D46BB #9846BB #BB46A4
triadic
#9846BB #BB9846 #46BB98
tetradic
#9846BB #BB5D46 #69BB46 #46A4BB
square
#9846BB #BB5D46 #69BB46 #46A4BB
split-complementary
#9846BB #A4BB46 #46BB5D
monochromatic
#502462 #74358F #9846BB #B173CB #CAA0DC

Accessibility & contrast

On white

5.35
#9846BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9846BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846BB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846BB#FFFFFF#000000##FFFFFF
##9846BB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BF
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#955B7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9846bb;
/* rgb */ color: rgb(152, 70, 187);
/* oklch */ color: oklch(55.0% 0.186 314.3);
Tailwind
colors: {
  custom: {
    50: '#b97ed0',
    500: '#9846bb',
    950: '#000000',
  },
}
SCSS
$custom: #9846bb;
$custom-light: #b97ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9846bb",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 282.051,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.18598,
    "h": 314.3
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#9846BB
secondary
#A4C894
accent
#D65279
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9846BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9846BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva