#841DA8#841DA8

#841DA8 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.209 H 314.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#841DA8
RGBrgb(132, 29, 168)
HSLhsl(284, 71%, 39%)
HSVhsv(284, 83%, 66%)
CMYKcmyk(21.4%, 82.7%, 0%, 34.1%)
CIE-LABlab(35.23, 61.03, -52.25)
CIE-LCHlch(35.23, 80.34, 319.43°)
OKLaboklab(46.92% 0.1474 -0.1477)
OKLCHoklch(46.92% 0.209 314.9)
XYZxyz(17.0218, 8.6121, 37.8038)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841DA8 #41A81D
analogous
#3E1DA8 #841DA8 #A81D86
triadic
#841DA8 #A8841D #1DA884
tetradic
#841DA8 #A83E1D #41A81D #1D86A8
square
#841DA8 #A83E1D #41A81D #1D86A8
split-complementary
#841DA8 #86A81D #1DA83E
monochromatic
#320B40 #5B1474 #841DA8 #AC28DA #C05CE3

Accessibility & contrast

On white

7.71
#841DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#841DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841DA8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841DA8#FFFFFF#000000##FFFFFF
##841DA81.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#1255A5
Tritanopia (blue-blind)
#814064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841da8;
/* rgb */ color: rgb(132, 29, 168);
/* oklch */ color: oklch(46.9% 0.209 314.9);
Tailwind
colors: {
  custom: {
    50: '#ac68c3',
    500: '#841da8',
    950: '#000000',
  },
}
SCSS
$custom: #841da8;
$custom-light: #ac68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#841da8",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 284.46,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.20863,
    "h": 314.9
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#841DA8
secondary
#76C75A
accent
#ED3A69
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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