#9846AA#9846AA

#9846AA is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.0% C 0.169 H 320.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9846AA
RGBrgb(152, 70, 170)
HSLhsl(289, 42%, 47%)
HSVhsv(289, 59%, 67%)
CMYKcmyk(10.6%, 58.8%, 0%, 33.3%)
CIE-LABlab(44.17, 49.45, -38.94)
CIE-LCHlch(44.17, 62.94, 321.78°)
OKLaboklab(53.97% 0.1296 -0.1084)
OKLCHoklch(53.97% 0.169 320.1)
XYZxyz(22.3939, 13.9590, 39.5372)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846AA #58AA46
analogous
#6646AA #9846AA #AA468A
triadic
#9846AA #AA9846 #46AA98
tetradic
#9846AA #AA6646 #58AA46 #468AAA
square
#9846AA #AA6646 #58AA46 #468AAA
split-complementary
#9846AA #8AAA46 #46AA66
monochromatic
#4A2253 #71347F #9846AA #B26BC2 #C996D4

Accessibility & contrast

On white

5.54
#9846AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9846AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9846AA#FFFFFF#000000##FFFFFF
##9846AA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#995571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9846aa;
/* rgb */ color: rgb(152, 70, 170);
/* oklch */ color: oklch(54.0% 0.169 320.1);
Tailwind
colors: {
  custom: {
    50: '#b97ec4',
    500: '#9846aa',
    950: '#000000',
  },
}
SCSS
$custom: #9846aa;
$custom-light: #b97ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9846aa",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 289.2,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.16893,
    "h": 320.1
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#9846AA
secondary
#95C08C
accent
#D1566C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9846AA

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

Preview Lab → · Contrast checker → · Palette generator →

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