#9841BC#9841BC

#9841BC is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.4% C 0.194 H 314.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9841BC
RGBrgb(152, 65, 188)
HSLhsl(282, 49%, 50%)
HSVhsv(282, 65%, 74%)
CMYKcmyk(19.1%, 65.4%, 0%, 26.3%)
CIE-LABlab(44.36, 55.49, -49.23)
CIE-LCHlch(44.36, 74.18, 318.42°)
OKLaboklab(54.44% 0.1359 -0.1384)
OKLCHoklch(54.44% 0.194 314.5)
XYZxyz(23.9148, 14.0876, 49.0266)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841BC #65BC41
analogous
#5A41BC #9841BC #BC41A3
triadic
#9841BC #BC9841 #41BC98
tetradic
#9841BC #BC5A41 #65BC41 #41A3BC
square
#9841BC #BC5A41 #65BC41 #41A3BC
split-complementary
#9841BC #A3BC41 #41BC5A
monochromatic
#4E2261 #73318F #9841BC #B16ECD #C99BDC

Accessibility & contrast

On white

5.50
#9841BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9841BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9841BC#FFFFFF#000000##FFFFFF
##9841BC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#955979
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9841bc;
/* rgb */ color: rgb(152, 65, 188);
/* oklch */ color: oklch(54.4% 0.194 314.5);
Tailwind
colors: {
  custom: {
    50: '#ba7cd1',
    500: '#9841bc',
    950: '#000000',
  },
}
SCSS
$custom: #9841bc;
$custom-light: #ba7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9841bc",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 282.439,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.19394,
    "h": 314.5
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#9841BC
secondary
#A1C990
accent
#D85078
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9841BC

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

Preview Lab → · Contrast checker → · Palette generator →

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