#9846AD#9846AD

#9846AD is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.1% C 0.172 H 319.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9846AD
RGBrgb(152, 70, 173)
HSLhsl(288, 42%, 48%)
HSVhsv(288, 60%, 68%)
CMYKcmyk(12.1%, 59.5%, 0%, 32.2%)
CIE-LABlab(44.34, 50.05, -40.45)
CIE-LCHlch(44.34, 64.35, 321.06°)
OKLaboklab(54.15% 0.1297 -0.1128)
OKLCHoklch(54.15% 0.172 319)
XYZxyz(22.6809, 14.0738, 41.0489)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846AD #5BAD46
analogous
#6446AD #9846AD #AD468E
triadic
#9846AD #AD9846 #46AD98
tetradic
#9846AD #AD6446 #5BAD46 #468EAD
square
#9846AD #AD6446 #5BAD46 #468EAD
split-complementary
#9846AD #8EAD46 #46AD64
monochromatic
#4B2356 #723481 #9846AD #B26CC4 #C998D5

Accessibility & contrast

On white

5.51
#9846AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9846AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9846AD#FFFFFF#000000##FFFFFF
##9846AD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#4C6CAA
Tritanopia (blue-blind)
#985673
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9846ad;
/* rgb */ color: rgb(152, 70, 173);
/* oklch */ color: oklch(54.1% 0.172 319.0);
Tailwind
colors: {
  custom: {
    50: '#b97ec6',
    500: '#9846ad',
    950: '#000000',
  },
}
SCSS
$custom: #9846ad;
$custom-light: #b97ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#9846ad",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 287.767,
    "s": 42.387,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.17191,
    "h": 319
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#9846AD
secondary
#98C18D
accent
#D2566F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9846AD

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

Preview Lab → · Contrast checker → · Palette generator →

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