#9846B4#9846B4

#9846B4 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.6% C 0.179 H 316.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9846B4
RGBrgb(152, 70, 180)
HSLhsl(285, 44%, 49%)
HSVhsv(285, 61%, 71%)
CMYKcmyk(15.6%, 61.1%, 0%, 29.4%)
CIE-LABlab(44.73, 51.48, -43.94)
CIE-LCHlch(44.73, 67.69, 319.52°)
OKLaboklab(54.56% 0.13 -0.123)
OKLCHoklch(54.56% 0.179 316.6)
XYZxyz(23.3760, 14.3519, 44.7100)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846B4 #62B446
analogous
#6146B4 #9846B4 #B44699
triadic
#9846B4 #B49846 #46B498
tetradic
#9846B4 #B46146 #62B446 #4699B4
square
#9846B4 #B46146 #62B446 #4699B4
split-complementary
#9846B4 #99B446 #46B461
monochromatic
#4E245C #733588 #9846B4 #B170C7 #C99CD8

Accessibility & contrast

On white

5.43
#9846B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9846B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9846B4#FFFFFF#000000##FFFFFF
##9846B41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B7
Deuteranopia (green-blind)
#486CB1
Tritanopia (blue-blind)
#975976
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9846b4;
/* rgb */ color: rgb(152, 70, 180);
/* oklch */ color: oklch(54.6% 0.179 316.6);
Tailwind
colors: {
  custom: {
    50: '#b97ecb',
    500: '#9846b4',
    950: '#000000',
  },
}
SCSS
$custom: #9846b4;
$custom-light: #b97ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#9846b4",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 284.727,
    "s": 44,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54561,
    "c": 0.1789,
    "h": 316.6
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#9846B4
secondary
#9EC591
accent
#D45475
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9846B4

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

Preview Lab → · Contrast checker → · Palette generator →

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