#9841C0#9841C0

#9841C0 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.7% C 0.198 H 313.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9841C0
RGBrgb(152, 65, 192)
HSLhsl(281, 50%, 50%)
HSVhsv(281, 66%, 75%)
CMYKcmyk(20.8%, 66.1%, 0%, 24.7%)
CIE-LABlab(44.61, 56.33, -51.16)
CIE-LCHlch(44.61, 76.09, 317.75°)
OKLaboklab(54.7% 0.1357 -0.1441)
OKLCHoklch(54.7% 0.198 313.3)
XYZxyz(24.3520, 14.2625, 51.3291)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9841C0 #69C041
analogous
#5841C0 #9841C0 #C041A9
triadic
#9841C0 #C09841 #41C098
tetradic
#9841C0 #C05841 #69C041 #41A9C0
square
#9841C0 #C05841 #69C041 #41A9C0
split-complementary
#9841C0 #A9C041 #41C058
monochromatic
#502265 #743193 #9841C0 #B16FCF #CA9DDE

Accessibility & contrast

On white

5.45
#9841C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9841C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9841C0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9841C0#FFFFFF#000000##FFFFFF
##9841C01.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#396BBD
Tritanopia (blue-blind)
#945A7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9841c0;
/* rgb */ color: rgb(152, 65, 192);
/* oklch */ color: oklch(54.7% 0.198 313.3);
Tailwind
colors: {
  custom: {
    50: '#ba7cd4',
    500: '#9841c0',
    950: '#000000',
  },
}
SCSS
$custom: #9841c0;
$custom-light: #ba7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#9841c0",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 281.102,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.19789,
    "h": 313.3
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#9841C0
secondary
#A4CB92
accent
#DA4E7A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9841C0

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

Preview Lab → · Contrast checker → · Palette generator →

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