#9846B3#9846B3

#9846B3 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.5% C 0.178 H 316.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9846B3
RGBrgb(152, 70, 179)
HSLhsl(285, 44%, 49%)
HSVhsv(285, 61%, 70%)
CMYKcmyk(15.1%, 60.9%, 0%, 29.8%)
CIE-LABlab(44.68, 51.28, -43.45)
CIE-LCHlch(44.68, 67.21, 319.73°)
OKLaboklab(54.5% 0.1299 -0.1215)
OKLCHoklch(54.5% 0.178 316.9)
XYZxyz(23.2745, 14.3113, 44.1754)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846B3 #61B346
analogous
#6246B3 #9846B3 #B34698
triadic
#9846B3 #B39846 #46B398
tetradic
#9846B3 #B36246 #61B346 #4698B3
square
#9846B3 #B36246 #61B346 #4698B3
split-complementary
#9846B3 #98B346 #46B362
monochromatic
#4D245B #733587 #9846B3 #B16FC7 #C99BD8

Accessibility & contrast

On white

5.44
#9846B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9846B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846B3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846B3#FFFFFF#000000##FFFFFF
##9846B31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#975976
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9846b3;
/* rgb */ color: rgb(152, 70, 179);
/* oklch */ color: oklch(54.5% 0.178 316.9);
Tailwind
colors: {
  custom: {
    50: '#b97eca',
    500: '#9846b3',
    950: '#000000',
  },
}
SCSS
$custom: #9846b3;
$custom-light: #b97eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9846b3",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 285.138,
    "s": 43.775,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.17791,
    "h": 316.9
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#9846B3
secondary
#9DC490
accent
#D45474
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9846B3

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

Preview Lab → · Contrast checker → · Palette generator →

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