#9846BF#9846BF

#9846BF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.190 H 313.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9846BF
RGBrgb(152, 70, 191)
HSLhsl(281, 49%, 51%)
HSVhsv(281, 63%, 75%)
CMYKcmyk(20.4%, 63.4%, 0%, 25.1%)
CIE-LABlab(45.38, 53.80, -49.33)
CIE-LCHlch(45.38, 73.00, 317.48°)
OKLaboklab(55.24% 0.1299 -0.1387)
OKLCHoklch(55.24% 0.19 313.1)
XYZxyz(24.5414, 14.8180, 50.8475)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846BF #6DBF46
analogous
#5B46BF #9846BF #BF46A9
triadic
#9846BF #BF9846 #46BF98
tetradic
#9846BF #BF5B46 #6DBF46 #46A9BF
square
#9846BF #BF5B46 #6DBF46 #46A9BF
split-complementary
#9846BF #A9BF46 #46BF5B
monochromatic
#512467 #753394 #9846BF #B173CF #CBA1DE

Accessibility & contrast

On white

5.30
#9846BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9846BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846BF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846BF#FFFFFF#000000##FFFFFF
##9846BF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#945D7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9846bf;
/* rgb */ color: rgb(152, 70, 191);
/* oklch */ color: oklch(55.2% 0.190 313.1);
Tailwind
colors: {
  custom: {
    50: '#ba7ed3',
    500: '#9846bf',
    950: '#000000',
  },
}
SCSS
$custom: #9846bf;
$custom-light: #ba7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9846bf",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 280.661,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.19005,
    "h": 313.1
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#9846BF
secondary
#A7CB96
accent
#D8507C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9846BF

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

Preview Lab → · Contrast checker → · Palette generator →

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