#841DBB#841DBB

#841DBB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.225 H 309.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#841DBB
RGBrgb(132, 29, 187)
HSLhsl(279, 73%, 42%)
HSVhsv(279, 84%, 73%)
CMYKcmyk(29.4%, 84.5%, 0%, 26.7%)
CIE-LABlab(36.69, 64.84, -61.17)
CIE-LCHlch(36.69, 89.14, 316.67°)
OKLaboklab(48.4% 0.1426 -0.1739)
OKLCHoklch(48.4% 0.225 309.4)
XYZxyz(18.9229, 9.3725, 47.8163)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841DBB #54BB1D
analogous
#351DBB #841DBB #BB1DA3
triadic
#841DBB #BB841D #1DBB84
tetradic
#841DBB #BB351D #54BB1D #1DA3BB
square
#841DBB #BB351D #54BB1D #1DA3BB
split-complementary
#841DBB #A3BB1D #1DBB35
monochromatic
#390D51 #5F1586 #841DBB #A435E0 #BC6AE8

Accessibility & contrast

On white

7.31
#841DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#841DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841DBB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841DBB#FFFFFF#000000##FFFFFF
##841DBB1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#7C4970
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #841dbb;
/* rgb */ color: rgb(132, 29, 187);
/* oklch */ color: oklch(48.4% 0.225 309.4);
Tailwind
colors: {
  custom: {
    50: '#ae69d0',
    500: '#841dbb',
    950: '#000000',
  },
}
SCSS
$custom: #841dbb;
$custom-light: #ae69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#841dbb",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 279.114,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.484,
    "c": 0.22491,
    "h": 309.4
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#841DBB
secondary
#8ACE66
accent
#F03878
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #841DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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