#9841BB#9841BB

#9841BB is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.193 H 314.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9841BB
RGBrgb(152, 65, 187)
HSLhsl(283, 48%, 49%)
HSVhsv(283, 65%, 73%)
CMYKcmyk(18.7%, 65.2%, 0%, 26.7%)
CIE-LABlab(44.30, 55.28, -48.74)
CIE-LCHlch(44.30, 73.70, 318.60°)
OKLaboklab(54.38% 0.1359 -0.137)
OKLCHoklch(54.38% 0.193 314.8)
XYZxyz(23.8074, 14.0446, 48.4609)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841BB #64BB41
analogous
#5B41BB #9841BB #BB41A1
triadic
#9841BB #BB9841 #41BB98
tetradic
#9841BB #BB5B41 #64BB41 #41A1BB
square
#9841BB #BB5B41 #64BB41 #41A1BB
split-complementary
#9841BB #A1BB41 #41BB5B
monochromatic
#4E2160 #73318E #9841BB #B16DCC #C99ADC

Accessibility & contrast

On white

5.51
#9841BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9841BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9841BB#FFFFFF#000000##FFFFFF
##9841BB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#955878
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9841bb;
/* rgb */ color: rgb(152, 65, 187);
/* oklch */ color: oklch(54.4% 0.193 314.8);
Tailwind
colors: {
  custom: {
    50: '#ba7cd0',
    500: '#9841bb',
    950: '#000000',
  },
}
SCSS
$custom: #9841bb;
$custom-light: #ba7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9841bb",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 282.787,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.19295,
    "h": 314.8
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#9841BB
secondary
#A0C890
accent
#D85077
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9841BB

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

Preview Lab → · Contrast checker → · Palette generator →

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