#841FC2#841FC2

#841FC2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.1% C 0.230 H 307.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#841FC2
RGBrgb(132, 31, 194)
HSLhsl(277, 72%, 44%)
HSVhsv(277, 84%, 76%)
CMYKcmyk(32%, 84%, 0%, 23.9%)
CIE-LABlab(37.45, 65.74, -64.06)
CIE-LCHlch(37.45, 91.79, 315.74°)
OKLaboklab(49.1% 0.1394 -0.1824)
OKLCHoklch(49.1% 0.23 307.4)
XYZxyz(19.7412, 9.7808, 51.8764)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841FC2 #5DC21F
analogous
#331FC2 #841FC2 #C21FAF
triadic
#841FC2 #C2841F #1FC284
tetradic
#841FC2 #C2331F #5DC21F #1FAFC2
square
#841FC2 #C2331F #5DC21F #1FAFC2
split-complementary
#841FC2 #AFC21F #1FC233
monochromatic
#3C0E58 #60178D #841FC2 #A23EE0 #BC73E9

Accessibility & contrast

On white

7.10
#841FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#841FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841FC2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841FC2#FFFFFF#000000##FFFFFF
##841FC21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#794D74
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #841fc2;
/* rgb */ color: rgb(132, 31, 194);
/* oklch */ color: oklch(49.1% 0.230 307.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ad5',
    500: '#841fc2',
    950: '#000000',
  },
}
SCSS
$custom: #841fc2;
$custom-light: #ae6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#841fc2",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 277.178,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49099,
    "c": 0.22953,
    "h": 307.4
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#841FC2
secondary
#93CF6D
accent
#EF397E
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #841FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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