#9846B8#9846B8

#9846B8 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.183 H 315.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9846B8
RGBrgb(152, 70, 184)
HSLhsl(283, 45%, 50%)
HSVhsv(283, 62%, 72%)
CMYKcmyk(17.4%, 62%, 0%, 27.8%)
CIE-LABlab(44.97, 52.32, -45.92)
CIE-LCHlch(44.97, 69.61, 318.73°)
OKLaboklab(54.81% 0.13 -0.1287)
OKLCHoklch(54.81% 0.183 315.3)
XYZxyz(23.7894, 14.5172, 46.8871)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846B8 #66B846
analogous
#5F46B8 #9846B8 #B8469F
triadic
#9846B8 #B89846 #46B898
tetradic
#9846B8 #B85F46 #66B846 #469FB8
square
#9846B8 #B85F46 #66B846 #469FB8
split-complementary
#9846B8 #9FB846 #46B85F
monochromatic
#4F245F #73358C #9846B8 #B172C9 #C99EDA

Accessibility & contrast

On white

5.38
#9846B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9846B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846B8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846B8#FFFFFF#000000##FFFFFF
##9846B81.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#965A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9846b8;
/* rgb */ color: rgb(152, 70, 184);
/* oklch */ color: oklch(54.8% 0.183 315.3);
Tailwind
colors: {
  custom: {
    50: '#b97ece',
    500: '#9846b8',
    950: '#000000',
  },
}
SCSS
$custom: #9846b8;
$custom-light: #b97ece;
$custom-dark: #000000;
JSON
{
  "hex": "#9846b8",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 283.158,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.18294,
    "h": 315.3
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#9846B8
secondary
#A2C793
accent
#D55378
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9846B8

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

Preview Lab → · Contrast checker → · Palette generator →

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