#9846A9#9846A9

#9846A9 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.9% C 0.168 H 320.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9846A9
RGBrgb(152, 70, 169)
HSLhsl(290, 41%, 47%)
HSVhsv(290, 59%, 66%)
CMYKcmyk(10.1%, 58.6%, 0%, 33.7%)
CIE-LABlab(44.12, 49.25, -38.43)
CIE-LCHlch(44.12, 62.47, 322.03°)
OKLaboklab(53.92% 0.1295 -0.1069)
OKLCHoklch(53.92% 0.168 320.5)
XYZxyz(22.2996, 13.9213, 39.0409)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846A9 #57A946
analogous
#6746A9 #9846A9 #A94689
triadic
#9846A9 #A99846 #46A998
tetradic
#9846A9 #A96746 #57A946 #4689A9
square
#9846A9 #A96746 #57A946 #4689A9
split-complementary
#9846A9 #89A946 #46A967
monochromatic
#4A2252 #71347E #9846A9 #B36BC2 #C996D3

Accessibility & contrast

On white

5.55
#9846A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9846A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9846A9#FFFFFF#000000##FFFFFF
##9846A91.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AC
Deuteranopia (green-blind)
#4F6BA6
Tritanopia (blue-blind)
#995571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9846a9;
/* rgb */ color: rgb(152, 70, 169);
/* oklch */ color: oklch(53.9% 0.168 320.5);
Tailwind
colors: {
  custom: {
    50: '#b97ec3',
    500: '#9846a9',
    950: '#000000',
  },
}
SCSS
$custom: #9846a9;
$custom-light: #b97ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9846a9",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 169
  },
  "hsl": {
    "h": 289.697,
    "s": 41.423,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.16794,
    "h": 320.5
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#9846A9
secondary
#94BF8B
accent
#D1576C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9846A9

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

Preview Lab → · Contrast checker → · Palette generator →

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