#841EC9#841EC9

#841EC9 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.6% C 0.236 H 305.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#841EC9
RGBrgb(132, 30, 201)
HSLhsl(276, 74%, 45%)
HSVhsv(276, 85%, 79%)
CMYKcmyk(34.3%, 85.1%, 0%, 21.2%)
CIE-LABlab(37.93, 67.48, -67.35)
CIE-LCHlch(37.93, 95.34, 315.05°)
OKLaboklab(49.62% 0.1378 -0.192)
OKLCHoklch(49.62% 0.236 305.7)
XYZxyz(20.5202, 10.0513, 56.1061)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841EC9 #63C91E
analogous
#2E1EC9 #841EC9 #C91EB9
triadic
#841EC9 #C9841E #1EC984
tetradic
#841EC9 #C92E1E #63C91E #1EB9C9
square
#841EC9 #C92E1E #63C91E #1EB9C9
split-complementary
#841EC9 #B9C91E #1EC92E
monochromatic
#3E0E5E #611694 #841EC9 #A241E3 #BC77EB

Accessibility & contrast

On white

6.98
#841EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#841EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #841EC9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841EC9#FFFFFF#000000##FFFFFF
##841EC91.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#775078
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #841ec9;
/* rgb */ color: rgb(132, 30, 201);
/* oklch */ color: oklch(49.6% 0.236 305.7);
Tailwind
colors: {
  custom: {
    50: '#af6adb',
    500: '#841ec9',
    950: '#000000',
  },
}
SCSS
$custom: #841ec9;
$custom-light: #af6adb;
$custom-dark: #000000;
JSON
{
  "hex": "#841ec9",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 201
  },
  "hsl": {
    "h": 275.789,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49616,
    "c": 0.23638,
    "h": 305.7
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#841EC9
secondary
#98D271
accent
#F13782
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #841EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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