#9841AE#9841AE

#9841AE is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.180 H 319.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9841AE
RGBrgb(152, 65, 174)
HSLhsl(288, 46%, 47%)
HSVhsv(288, 63%, 68%)
CMYKcmyk(12.6%, 62.6%, 0%, 31.8%)
CIE-LABlab(43.53, 52.62, -42.33)
CIE-LCHlch(43.53, 67.54, 321.19°)
OKLaboklab(53.57% 0.1361 -0.1182)
OKLCHoklch(53.57% 0.18 319)
XYZxyz(22.4782, 13.5130, 41.4604)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841AE #57AE41
analogous
#6241AE #9841AE #AE418E
triadic
#9841AE #AE9841 #41AE98
tetradic
#9841AE #AE6241 #57AE41 #418EAE
square
#9841AE #AE6241 #57AE41 #418EAE
split-complementary
#9841AE #8EAE41 #41AE62
monochromatic
#4A2055 #713081 #9841AE #B366C6 #C993D7

Accessibility & contrast

On white

5.67
#9841AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9841AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9841AE#FFFFFF#000000##FFFFFF
##9841AE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#985371
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9841ae;
/* rgb */ color: rgb(152, 65, 174);
/* oklch */ color: oklch(53.6% 0.180 319.0);
Tailwind
colors: {
  custom: {
    50: '#b97bc7',
    500: '#9841ae',
    950: '#000000',
  },
}
SCSS
$custom: #9841ae;
$custom-light: #b97bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9841ae",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 287.89,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.18027,
    "h": 319
  },
  "luminance": 0.13512
}

Semantic roles & 50–950 ramp

primary
#9841AE
secondary
#94C289
accent
#D5536D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9841AE

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

Preview Lab → · Contrast checker → · Palette generator →

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