#9841AA#9841AA

#9841AA is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.3% C 0.176 H 320.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9841AA
RGBrgb(152, 65, 170)
HSLhsl(290, 45%, 46%)
HSVhsv(290, 62%, 67%)
CMYKcmyk(10.6%, 61.8%, 0%, 33.3%)
CIE-LABlab(43.30, 51.83, -40.32)
CIE-LCHlch(43.30, 65.67, 322.12°)
OKLaboklab(53.34% 0.136 -0.1124)
OKLCHoklch(53.34% 0.176 320.4)
XYZxyz(22.0940, 13.3593, 39.4372)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841AA #53AA41
analogous
#6341AA #9841AA #AA4187
triadic
#9841AA #AA9841 #41AA98
tetradic
#9841AA #AA6341 #53AA41 #4187AA
square
#9841AA #AA6341 #53AA41 #4187AA
split-complementary
#9841AA #87AA41 #41AA63
monochromatic
#491F51 #70307E #9841AA #B364C4 #C991D5

Accessibility & contrast

On white

5.72
#9841AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9841AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9841AA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9841AA#FFFFFF#000000##FFFFFF
##9841AA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#99526F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9841aa;
/* rgb */ color: rgb(152, 65, 170);
/* oklch */ color: oklch(53.3% 0.176 320.4);
Tailwind
colors: {
  custom: {
    50: '#b97bc4',
    500: '#9841aa',
    950: '#000000',
  },
}
SCSS
$custom: #9841aa;
$custom-light: #b97bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9841aa",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 289.714,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.17641,
    "h": 320.4
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#9841AA
secondary
#91C087
accent
#D4536A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9841AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9841AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva