#9841BE#9841BE

#9841BE is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.6% C 0.196 H 313.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9841BE
RGBrgb(152, 65, 190)
HSLhsl(282, 49%, 50%)
HSVhsv(282, 66%, 75%)
CMYKcmyk(20%, 65.8%, 0%, 25.5%)
CIE-LABlab(44.48, 55.91, -50.20)
CIE-LCHlch(44.48, 75.14, 318.08°)
OKLaboklab(54.57% 0.1358 -0.1412)
OKLCHoklch(54.57% 0.196 313.9)
XYZxyz(24.1319, 14.1744, 50.1700)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841BE #67BE41
analogous
#5941BE #9841BE #BE41A6
triadic
#9841BE #BE9841 #41BE98
tetradic
#9841BE #BE5941 #67BE41 #41A6BE
square
#9841BE #BE5941 #67BE41 #41A6BE
split-complementary
#9841BE #A6BE41 #41BE59
monochromatic
#4F2263 #743190 #9841BE #B16FCE #C99CDD

Accessibility & contrast

On white

5.48
#9841BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9841BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9841BE#FFFFFF#000000##FFFFFF
##9841BE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#94597A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9841be;
/* rgb */ color: rgb(152, 65, 190);
/* oklch */ color: oklch(54.6% 0.196 313.9);
Tailwind
colors: {
  custom: {
    50: '#ba7cd2',
    500: '#9841be',
    950: '#000000',
  },
}
SCSS
$custom: #9841be;
$custom-light: #ba7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9841be",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 281.76,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.19591,
    "h": 313.9
  },
  "luminance": 0.14174
}

Semantic roles & 50–950 ramp

primary
#9841BE
secondary
#A2C991
accent
#D94F79
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9841BE

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

Preview Lab → · Contrast checker → · Palette generator →

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