#9846A6#9846A6

#9846A6 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.7% C 0.165 H 321.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9846A6
RGBrgb(152, 70, 166)
HSLhsl(291, 41%, 46%)
HSVhsv(291, 58%, 65%)
CMYKcmyk(8.4%, 57.8%, 0%, 34.9%)
CIE-LABlab(43.96, 48.65, -36.91)
CIE-LCHlch(43.96, 61.06, 322.82°)
OKLaboklab(53.75% 0.1293 -0.1025)
OKLCHoklch(53.75% 0.165 321.6)
XYZxyz(22.0212, 13.8099, 37.5746)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846A6 #54A646
analogous
#6846A6 #9846A6 #A64684
triadic
#9846A6 #A69846 #46A698
tetradic
#9846A6 #A66846 #54A646 #4684A6
square
#9846A6 #A66846 #54A646 #4684A6
split-complementary
#9846A6 #84A646 #46A668
monochromatic
#492250 #71347B #9846A6 #B369C0 #C994D2

Accessibility & contrast

On white

5.58
#9846A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9846A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9846A6#FFFFFF#000000##FFFFFF
##9846A61.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#9A546F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9846a6;
/* rgb */ color: rgb(152, 70, 166);
/* oklch */ color: oklch(53.7% 0.165 321.6);
Tailwind
colors: {
  custom: {
    50: '#b97ec1',
    500: '#9846a6',
    950: '#000000',
  },
}
SCSS
$custom: #9846a6;
$custom-light: #b97ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9846a6",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 166
  },
  "hsl": {
    "h": 291.25,
    "s": 40.678,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53746,
    "c": 0.16499,
    "h": 321.6
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#9846A6
secondary
#92BE8A
accent
#D15769
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9846A6

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

Preview Lab → · Contrast checker → · Palette generator →

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