#9846BE#9846BE

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

Color values

HEX#9846BE
RGBrgb(152, 70, 190)
HSLhsl(281, 48%, 51%)
HSVhsv(281, 63%, 75%)
CMYKcmyk(20%, 63.2%, 0%, 25.5%)
CIE-LABlab(45.32, 53.59, -48.85)
CIE-LCHlch(45.32, 72.51, 317.65°)
OKLaboklab(55.18% 0.1299 -0.1373)
OKLCHoklch(55.18% 0.189 313.4)
XYZxyz(24.4317, 14.7741, 50.2699)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846BE #6CBE46
analogous
#5C46BE #9846BE #BE46A8
triadic
#9846BE #BE9846 #46BE98
tetradic
#9846BE #BE5C46 #6CBE46 #46A8BE
square
#9846BE #BE5C46 #6CBE46 #46A8BE
split-complementary
#9846BE #A8BE46 #46BE5C
monochromatic
#512466 #753493 #9846BE #B173CE #CAA1DE

Accessibility & contrast

On white

5.31
#9846BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9846BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846BE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846BE#FFFFFF#000000##FFFFFF
##9846BE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#945D7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9846be;
/* rgb */ color: rgb(152, 70, 190);
/* oklch */ color: oklch(55.2% 0.189 313.4);
Tailwind
colors: {
  custom: {
    50: '#ba7ed2',
    500: '#9846be',
    950: '#000000',
  },
}
SCSS
$custom: #9846be;
$custom-light: #ba7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9846be",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 281,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.18903,
    "h": 313.4
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#9846BE
secondary
#A6CA95
accent
#D8507B
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9846BE

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

Preview Lab → · Contrast checker → · Palette generator →

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