#841DA7#841DA7

#841DA7 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.8% C 0.208 H 315.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#841DA7
RGBrgb(132, 29, 167)
HSLhsl(285, 70%, 38%)
HSVhsv(285, 83%, 65%)
CMYKcmyk(21%, 82.6%, 0%, 34.5%)
CIE-LABlab(35.15, 60.83, -51.77)
CIE-LCHlch(35.15, 79.88, 319.60°)
OKLaboklab(46.85% 0.1476 -0.1463)
OKLCHoklch(46.85% 0.208 315.3)
XYZxyz(16.9290, 8.5749, 37.3151)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841DA7 #40A71D
analogous
#3F1DA7 #841DA7 #A71D85
triadic
#841DA7 #A7841D #1DA784
tetradic
#841DA7 #A73F1D #40A71D #1D85A7
square
#841DA7 #A73F1D #40A71D #1D85A7
split-complementary
#841DA7 #85A71D #1DA73F
monochromatic
#320B3F #5B1473 #841DA7 #AC28DA #C05CE3

Accessibility & contrast

On white

7.74
#841DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841DA7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841DA7#FFFFFF#000000##FFFFFF
##841DA71.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#1455A4
Tritanopia (blue-blind)
#813F64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841da7;
/* rgb */ color: rgb(132, 29, 167);
/* oklch */ color: oklch(46.8% 0.208 315.3);
Tailwind
colors: {
  custom: {
    50: '#ac68c2',
    500: '#841da7',
    950: '#000000',
  },
}
SCSS
$custom: #841da7;
$custom-light: #ac68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#841da7",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 284.783,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46847,
    "c": 0.20779,
    "h": 315.3
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#841DA7
secondary
#75C759
accent
#ED3B68
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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