#841FA7#841FA7

#841FA7 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.206 H 315.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#841FA7
RGBrgb(132, 31, 167)
HSLhsl(285, 69%, 39%)
HSVhsv(285, 81%, 65%)
CMYKcmyk(21%, 81.4%, 0%, 34.5%)
CIE-LABlab(35.35, 60.25, -51.44)
CIE-LCHlch(35.35, 79.22, 319.51°)
OKLaboklab(46.99% 0.1461 -0.1453)
OKLCHoklch(46.99% 0.206 315.2)
XYZxyz(16.9796, 8.6762, 37.3320)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841FA7 #42A71F
analogous
#401FA7 #841FA7 #A71F86
triadic
#841FA7 #A7841F #1FA784
tetradic
#841FA7 #A7401F #42A71F #1F86A7
square
#841FA7 #A7401F #42A71F #1F86A7
split-complementary
#841FA7 #86A71F #1FA740
monochromatic
#320C40 #5B1573 #841FA7 #AB2BD8 #C05FE1

Accessibility & contrast

On white

7.68
#841FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#841FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841FA7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841FA7#FFFFFF#000000##FFFFFF
##841FA71.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#1756A4
Tritanopia (blue-blind)
#814064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841fa7;
/* rgb */ color: rgb(132, 31, 167);
/* oklch */ color: oklch(47.0% 0.206 315.2);
Tailwind
colors: {
  custom: {
    50: '#ac68c2',
    500: '#841fa7',
    950: '#000000',
  },
}
SCSS
$custom: #841fa7;
$custom-light: #ac68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#841fa7",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 284.559,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46988,
    "c": 0.20608,
    "h": 315.2
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#841FA7
secondary
#77C65C
accent
#EC3C69
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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