#9846BC#9846BC

#9846BC is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.187 H 314.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9846BC
RGBrgb(152, 70, 188)
HSLhsl(282, 47%, 51%)
HSVhsv(282, 63%, 74%)
CMYKcmyk(19.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(45.20, 53.16, -47.87)
CIE-LCHlch(45.20, 71.54, 318.00°)
OKLaboklab(55.05% 0.13 -0.1345)
OKLCHoklch(55.05% 0.187 314)
XYZxyz(24.2146, 14.6873, 49.1266)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846BC #6ABC46
analogous
#5D46BC #9846BC #BC46A5
triadic
#9846BC #BC9846 #46BC98
tetradic
#9846BC #BC5D46 #6ABC46 #46A5BC
square
#9846BC #BC5D46 #6ABC46 #46A5BC
split-complementary
#9846BC #A5BC46 #46BC5D
monochromatic
#502464 #743490 #9846BC #B173CC #CAA0DD

Accessibility & contrast

On white

5.33
#9846BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9846BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846BC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846BC#FFFFFF#000000##FFFFFF
##9846BC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#955C7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9846bc;
/* rgb */ color: rgb(152, 70, 188);
/* oklch */ color: oklch(55.1% 0.187 314.0);
Tailwind
colors: {
  custom: {
    50: '#ba7ed1',
    500: '#9846bc',
    950: '#000000',
  },
}
SCSS
$custom: #9846bc;
$custom-light: #ba7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9846bc",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 281.695,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.187,
    "h": 314
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#9846BC
secondary
#A5C995
accent
#D6517A
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9846BC

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

Preview Lab → · Contrast checker → · Palette generator →

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