#9841AF#9841AF

#9841AF is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.6% C 0.181 H 318.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9841AF
RGBrgb(152, 65, 175)
HSLhsl(287, 46%, 47%)
HSVhsv(287, 63%, 69%)
CMYKcmyk(13.1%, 62.9%, 0%, 31.4%)
CIE-LABlab(43.58, 52.83, -42.83)
CIE-LCHlch(43.58, 68.01, 320.97°)
OKLaboklab(53.63% 0.1361 -0.1197)
OKLCHoklch(53.63% 0.181 318.7)
XYZxyz(22.5760, 13.5521, 41.9758)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841AF #58AF41
analogous
#6141AF #9841AF #AF418F
triadic
#9841AF #AF9841 #41AF98
tetradic
#9841AF #AF6141 #58AF41 #418FAF
square
#9841AF #AF6141 #58AF41 #418FAF
split-complementary
#9841AF #8FAF41 #41AF61
monochromatic
#4A2056 #713082 #9841AF #B267C6 #C993D7

Accessibility & contrast

On white

5.66
#9841AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9841AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9841AF#FFFFFF#000000##FFFFFF
##9841AF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#985472
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9841af;
/* rgb */ color: rgb(152, 65, 175);
/* oklch */ color: oklch(53.6% 0.181 318.7);
Tailwind
colors: {
  custom: {
    50: '#b97bc7',
    500: '#9841af',
    950: '#000000',
  },
}
SCSS
$custom: #9841af;
$custom-light: #b97bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9841af",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 287.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.18123,
    "h": 318.7
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#9841AF
secondary
#95C289
accent
#D5526E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9841AF

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

Preview Lab → · Contrast checker → · Palette generator →

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