#8421B4#8421B4

#8421B4 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.216 H 311.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8421B4
RGBrgb(132, 33, 180)
HSLhsl(280, 69%, 42%)
HSVhsv(280, 82%, 71%)
CMYKcmyk(26.7%, 81.7%, 0%, 29.4%)
CIE-LABlab(36.53, 62.25, -57.29)
CIE-LCHlch(36.53, 84.60, 317.38°)
OKLaboklab(48.12% 0.1418 -0.1625)
OKLCHoklch(48.12% 0.216 311.1)
XYZxyz(18.2962, 9.2890, 44.0003)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8421B4 #51B421
analogous
#3B21B4 #8421B4 #B4219B
triadic
#8421B4 #B48421 #21B484
tetradic
#8421B4 #B43B21 #51B421 #219BB4
square
#8421B4 #B43B21 #51B421 #219BB4
split-complementary
#8421B4 #9BB421 #21B43B
monochromatic
#380E4D #5E1880 #8421B4 #A538DA #BD6BE4

Accessibility & contrast

On white

7.35
#8421B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8421B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8421B4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8421B4#FFFFFF#000000##FFFFFF
##8421B41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8421b4;
/* rgb */ color: rgb(132, 33, 180);
/* oklch */ color: oklch(48.1% 0.216 311.1);
Tailwind
colors: {
  custom: {
    50: '#ad6acb',
    500: '#8421b4',
    950: '#000000',
  },
}
SCSS
$custom: #8421b4;
$custom-light: #ad6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8421b4",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 280.408,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.21566,
    "h": 311.1
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#8421B4
secondary
#87CA67
accent
#EC3C75
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8421B4

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

Preview Lab → · Contrast checker → · Palette generator →

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