#841DA6#841DA6

#841DA6 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.207 H 315.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#841DA6
RGBrgb(132, 29, 166)
HSLhsl(285, 70%, 38%)
HSVhsv(285, 83%, 65%)
CMYKcmyk(20.5%, 82.5%, 0%, 34.9%)
CIE-LABlab(35.08, 60.64, -51.28)
CIE-LCHlch(35.08, 79.42, 319.78°)
OKLaboklab(46.77% 0.1478 -0.1448)
OKLCHoklch(46.77% 0.207 315.6)
XYZxyz(16.8369, 8.5381, 36.8301)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841DA6 #3FA61D
analogous
#3F1DA6 #841DA6 #A61D83
triadic
#841DA6 #A6841D #1DA684
tetradic
#841DA6 #A63F1D #3FA61D #1D83A6
square
#841DA6 #A63F1D #3FA61D #1D83A6
split-complementary
#841DA6 #83A61D #1DA63F
monochromatic
#310B3E #5B1472 #841DA6 #AD27D9 #C15BE2

Accessibility & contrast

On white

7.76
#841DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#841DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841DA6
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841DA6#FFFFFF#000000##FFFFFF
##841DA61.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#1755A3
Tritanopia (blue-blind)
#813F63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841da6;
/* rgb */ color: rgb(132, 29, 166);
/* oklch */ color: oklch(46.8% 0.207 315.6);
Tailwind
colors: {
  custom: {
    50: '#ac68c1',
    500: '#841da6',
    950: '#000000',
  },
}
SCSS
$custom: #841da6;
$custom-light: #ac68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#841da6",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 166
  },
  "hsl": {
    "h": 285.109,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.20694,
    "h": 315.6
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#841DA6
secondary
#74C659
accent
#ED3B67
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841DA6

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

Preview Lab → · Contrast checker → · Palette generator →

#841DA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva