#8421B2#8421B2

#8421B2 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 48.0% C 0.214 H 311.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8421B2
RGBrgb(132, 33, 178)
HSLhsl(281, 69%, 41%)
HSVhsv(281, 81%, 70%)
CMYKcmyk(25.8%, 81.5%, 0%, 30.2%)
CIE-LABlab(36.38, 61.85, -56.35)
CIE-LCHlch(36.38, 83.67, 317.66°)
OKLaboklab(47.97% 0.1423 -0.1597)
OKLCHoklch(47.97% 0.214 311.7)
XYZxyz(18.0939, 9.2081, 42.9350)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8421B2 #4FB221
analogous
#3C21B2 #8421B2 #B22198
triadic
#8421B2 #B28421 #21B284
tetradic
#8421B2 #B23C21 #4FB221 #2198B2
square
#8421B2 #B23C21 #4FB221 #2198B2
split-complementary
#8421B2 #98B221 #21B23C
monochromatic
#370E4B #5E177E #8421B2 #A636DA #BD6AE3

Accessibility & contrast

On white

7.39
#8421B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8421B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8421B2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8421B2#FFFFFF#000000##FFFFFF
##8421B21.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#7E466B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8421b2;
/* rgb */ color: rgb(132, 33, 178);
/* oklch */ color: oklch(48.0% 0.214 311.7);
Tailwind
colors: {
  custom: {
    50: '#ad6aca',
    500: '#8421b2',
    950: '#000000',
  },
}
SCSS
$custom: #8421b2;
$custom-light: #ad6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8421b2",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 280.966,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.2139,
    "h": 311.7
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#8421B2
secondary
#85C966
accent
#EC3C74
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8421B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8421B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva