#841EA0#841EA0

#841EA0 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.4% C 0.201 H 317.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#841EA0
RGBrgb(132, 30, 160)
HSLhsl(287, 68%, 37%)
HSVhsv(287, 81%, 63%)
CMYKcmyk(17.5%, 81.3%, 0%, 37.3%)
CIE-LABlab(34.75, 59.19, -48.20)
CIE-LCHlch(34.75, 76.33, 320.84°)
OKLaboklab(46.4% 0.1482 -0.1358)
OKLCHoklch(46.4% 0.201 317.5)
XYZxyz(16.3242, 8.3729, 34.0071)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841EA0 #3AA01E
analogous
#431EA0 #841EA0 #A01E7B
triadic
#841EA0 #A0841E #1EA084
tetradic
#841EA0 #A0431E #3AA01E #1E7BA0
square
#841EA0 #A0431E #3AA01E #1E7BA0
split-complementary
#841EA0 #7BA01E #1EA043
monochromatic
#2F0B39 #59146C #841EA0 #AF28D4 #C359E0

Accessibility & contrast

On white

7.85
#841EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#841EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841EA0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841EA0#FFFFFF#000000##FFFFFF
##841EA01.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#22559D
Tritanopia (blue-blind)
#833C60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841ea0;
/* rgb */ color: rgb(132, 30, 160);
/* oklch */ color: oklch(46.4% 0.201 317.5);
Tailwind
colors: {
  custom: {
    50: '#ac68bd',
    500: '#841ea0',
    950: '#000000',
  },
}
SCSS
$custom: #841ea0;
$custom-light: #ac68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#841ea0",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 287.077,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.201,
    "h": 317.5
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#841EA0
secondary
#6EC456
accent
#EB3D62
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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