#841AC9#841AC9

#841AC9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.4% C 0.239 H 305.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#841AC9
RGBrgb(132, 26, 201)
HSLhsl(276, 77%, 45%)
HSVhsv(276, 87%, 79%)
CMYKcmyk(34.3%, 87.1%, 0%, 21.2%)
CIE-LABlab(37.59, 68.49, -67.91)
CIE-LCHlch(37.59, 96.45, 315.24°)
OKLaboklab(49.38% 0.14 -0.1937)
OKLCHoklch(49.38% 0.239 305.9)
XYZxyz(20.4254, 9.8615, 56.0744)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841AC9 #5FC91A
analogous
#2D1AC9 #841AC9 #C91AB7
triadic
#841AC9 #C9841A #1AC984
tetradic
#841AC9 #C92D1A #5FC91A #1AB7C9
square
#841AC9 #C92D1A #5FC91A #1AB7C9
split-complementary
#841AC9 #B7C91A #1AC92D
monochromatic
#3D0C5D #601393 #841AC9 #A23BE6 #BC71ED

Accessibility & contrast

On white

7.07
#841AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#841AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841AC9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841AC9#FFFFFF#000000##FFFFFF
##841AC91.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#774F77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #841ac9;
/* rgb */ color: rgb(132, 26, 201);
/* oklch */ color: oklch(49.4% 0.239 305.9);
Tailwind
colors: {
  custom: {
    50: '#af69db',
    500: '#841ac9',
    950: '#000000',
  },
}
SCSS
$custom: #841ac9;
$custom-light: #af69db;
$custom-dark: #000000;
JSON
{
  "hex": "#841ac9",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 201
  },
  "hsl": {
    "h": 276.343,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.23896,
    "h": 305.9
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#841AC9
secondary
#94D36C
accent
#F43480
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #841AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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