#841FA8#841FA8

#841FA8 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.207 H 314.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#841FA8
RGBrgb(132, 31, 168)
HSLhsl(284, 69%, 39%)
HSVhsv(284, 82%, 66%)
CMYKcmyk(21.4%, 81.5%, 0%, 34.1%)
CIE-LABlab(35.43, 60.45, -51.92)
CIE-LCHlch(35.43, 79.69, 319.34°)
OKLaboklab(47.06% 0.1459 -0.1467)
OKLCHoklch(47.06% 0.207 314.8)
XYZxyz(17.0724, 8.7133, 37.8207)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841FA8 #43A81F
analogous
#401FA8 #841FA8 #A81F88
triadic
#841FA8 #A8841F #1FA884
tetradic
#841FA8 #A8401F #43A81F #1F88A8
square
#841FA8 #A8401F #43A81F #1F88A8
split-complementary
#841FA8 #88A81F #1FA840
monochromatic
#330C41 #5B1574 #841FA8 #AB2CD8 #C060E2

Accessibility & contrast

On white

7.66
#841FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841FA8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841FA8#FFFFFF#000000##FFFFFF
##841FA81.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#1556A5
Tritanopia (blue-blind)
#814165
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841fa8;
/* rgb */ color: rgb(132, 31, 168);
/* oklch */ color: oklch(47.1% 0.207 314.8);
Tailwind
colors: {
  custom: {
    50: '#ac68c3',
    500: '#841fa8',
    950: '#000000',
  },
}
SCSS
$custom: #841fa8;
$custom-light: #ac68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#841fa8",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 284.234,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.20694,
    "h": 314.8
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#841FA8
secondary
#78C65D
accent
#EC3C6A
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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