#9846C0#9846C0

#9846C0 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.191 H 312.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9846C0
RGBrgb(152, 70, 192)
HSLhsl(280, 49%, 51%)
HSVhsv(280, 64%, 75%)
CMYKcmyk(20.8%, 63.5%, 0%, 24.7%)
CIE-LABlab(45.44, 54.02, -49.82)
CIE-LCHlch(45.44, 73.48, 317.32°)
OKLaboklab(55.31% 0.1299 -0.1401)
OKLCHoklch(55.31% 0.191 312.8)
XYZxyz(24.6518, 14.8622, 51.4290)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846C0 #6EC046
analogous
#5B46C0 #9846C0 #C046AB
triadic
#9846C0 #C09846 #46C098
tetradic
#9846C0 #C05B46 #6EC046 #46ABC0
square
#9846C0 #C05B46 #6EC046 #46ABC0
split-complementary
#9846C0 #ABC046 #46C05B
monochromatic
#522368 #753396 #9846C0 #B174D0 #CBA1DF

Accessibility & contrast

On white

5.29
#9846C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9846C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846C0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846C0#FFFFFF#000000##FFFFFF
##9846C01.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E67C4
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#945D7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9846c0;
/* rgb */ color: rgb(152, 70, 192);
/* oklch */ color: oklch(55.3% 0.191 312.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fd4',
    500: '#9846c0',
    950: '#000000',
  },
}
SCSS
$custom: #9846c0;
$custom-light: #ba7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#9846c0",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 192
  },
  "hsl": {
    "h": 280.328,
    "s": 49.194,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.19106,
    "h": 312.8
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#9846C0
secondary
#A8CC96
accent
#D94F7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9846C0

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

Preview Lab → · Contrast checker → · Palette generator →

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