#9846A4#9846A4

#9846A4 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.6% C 0.163 H 322.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9846A4
RGBrgb(152, 70, 164)
HSLhsl(292, 40%, 46%)
HSVhsv(292, 57%, 64%)
CMYKcmyk(7.3%, 57.3%, 0%, 35.7%)
CIE-LABlab(43.85, 48.26, -35.88)
CIE-LCHlch(43.85, 60.14, 323.36°)
OKLaboklab(53.64% 0.1291 -0.0995)
OKLCHoklch(53.64% 0.163 322.4)
XYZxyz(21.8392, 13.7371, 36.6159)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846A4 #52A446
analogous
#6946A4 #9846A4 #A44681
triadic
#9846A4 #A49846 #46A498
tetradic
#9846A4 #A46946 #52A446 #4681A4
square
#9846A4 #A46946 #52A446 #4681A4
split-complementary
#9846A4 #81A446 #46A469
monochromatic
#48214E #703479 #9846A4 #B468BF #C993D1

Accessibility & contrast

On white

5.60
#9846A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9846A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9846A4#FFFFFF#000000##FFFFFF
##9846A41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#9A536E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9846a4;
/* rgb */ color: rgb(152, 70, 164);
/* oklch */ color: oklch(53.6% 0.163 322.4);
Tailwind
colors: {
  custom: {
    50: '#b97ebf',
    500: '#9846a4',
    950: '#000000',
  },
}
SCSS
$custom: #9846a4;
$custom-light: #b97ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9846a4",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 292.34,
    "s": 40.171,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53635,
    "c": 0.16305,
    "h": 322.4
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

primary
#9846A4
secondary
#90BD89
accent
#D05867
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9846A4

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

Preview Lab → · Contrast checker → · Palette generator →

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