#841FA0#841FA0

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

Color values

HEX#841FA0
RGBrgb(132, 31, 160)
HSLhsl(287, 68%, 37%)
HSVhsv(287, 81%, 63%)
CMYKcmyk(17.5%, 80.6%, 0%, 37.3%)
CIE-LABlab(34.85, 58.89, -48.03)
CIE-LCHlch(34.85, 75.99, 320.80°)
OKLaboklab(46.48% 0.1474 -0.1353)
OKLCHoklch(46.48% 0.2 317.5)
XYZxyz(16.3499, 8.4243, 34.0157)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841FA0 #3BA01F
analogous
#441FA0 #841FA0 #A01F7B
triadic
#841FA0 #A0841F #1FA084
tetradic
#841FA0 #A0441F #3BA01F #1F7BA0
square
#841FA0 #A0441F #3BA01F #1F7BA0
split-complementary
#841FA0 #7BA01F #1FA044
monochromatic
#2F0B39 #5A156D #841FA0 #AE29D3 #C25ADF

Accessibility & contrast

On white

7.82
#841FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#841FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841FA0
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841FA0#FFFFFF#000000##FFFFFF
##841FA01.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841fa0;
/* rgb */ color: rgb(132, 31, 160);
/* oklch */ color: oklch(46.5% 0.200 317.5);
Tailwind
colors: {
  custom: {
    50: '#ac68bd',
    500: '#841fa0',
    950: '#000000',
  },
}
SCSS
$custom: #841fa0;
$custom-light: #ac68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#841fa0",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 286.977,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.2001,
    "h": 317.5
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#841FA0
secondary
#6FC358
accent
#EA3D63
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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