#9841BD#9841BD

#9841BD is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.195 H 314.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9841BD
RGBrgb(152, 65, 189)
HSLhsl(282, 49%, 50%)
HSVhsv(282, 66%, 74%)
CMYKcmyk(19.6%, 65.6%, 0%, 25.9%)
CIE-LABlab(44.42, 55.70, -49.71)
CIE-LCHlch(44.42, 74.66, 318.25°)
OKLaboklab(54.51% 0.1358 -0.1398)
OKLCHoklch(54.51% 0.195 314.2)
XYZxyz(24.0230, 14.1309, 49.5963)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841BD #66BD41
analogous
#5A41BD #9841BD #BD41A4
triadic
#9841BD #BD9841 #41BD98
tetradic
#9841BD #BD5A41 #66BD41 #41A4BD
square
#9841BD #BD5A41 #66BD41 #41A4BD
split-complementary
#9841BD #A4BD41 #41BD5A
monochromatic
#4F2262 #73318F #9841BD #B16ECD #C99CDD

Accessibility & contrast

On white

5.49
#9841BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9841BD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9841BD#FFFFFF#000000##FFFFFF
##9841BD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#955979
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9841bd;
/* rgb */ color: rgb(152, 65, 189);
/* oklch */ color: oklch(54.5% 0.195 314.2);
Tailwind
colors: {
  custom: {
    50: '#ba7cd1',
    500: '#9841bd',
    950: '#000000',
  },
}
SCSS
$custom: #9841bd;
$custom-light: #ba7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9841bd",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 282.097,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.19493,
    "h": 314.2
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#9841BD
secondary
#A2C991
accent
#D84F78
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9841BD

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

Preview Lab → · Contrast checker → · Palette generator →

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