#9841B0#9841B0

#9841B0 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.7% C 0.182 H 318.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9841B0
RGBrgb(152, 65, 176)
HSLhsl(287, 46%, 47%)
HSVhsv(287, 63%, 69%)
CMYKcmyk(13.6%, 63.1%, 0%, 31%)
CIE-LABlab(43.64, 53.03, -43.33)
CIE-LCHlch(43.64, 68.48, 320.75°)
OKLaboklab(53.7% 0.1361 -0.1211)
OKLCHoklch(53.7% 0.182 318.3)
XYZxyz(22.6746, 13.5915, 42.4949)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841B0 #59B041
analogous
#6141B0 #9841B0 #B04191
triadic
#9841B0 #B09841 #41B098
tetradic
#9841B0 #B06141 #59B041 #4191B0
square
#9841B0 #B06141 #59B041 #4191B0
split-complementary
#9841B0 #91B041 #41B061
monochromatic
#4B2057 #713083 #9841B0 #B267C7 #C994D7

Accessibility & contrast

On white

5.65
#9841B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9841B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9841B0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9841B0#FFFFFF#000000##FFFFFF
##9841B01.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B3
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#985473
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9841b0;
/* rgb */ color: rgb(152, 65, 176);
/* oklch */ color: oklch(53.7% 0.182 318.3);
Tailwind
colors: {
  custom: {
    50: '#b97bc8',
    500: '#9841b0',
    950: '#000000',
  },
}
SCSS
$custom: #9841b0;
$custom-light: #b97bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9841b0",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 287.027,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.1822,
    "h": 318.3
  },
  "luminance": 0.13591
}

Semantic roles & 50–950 ramp

primary
#9841B0
secondary
#96C38A
accent
#D6526F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9841B0

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

Preview Lab → · Contrast checker → · Palette generator →

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