#8421BB#8421BB

#8421BB is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.7% C 0.222 H 309.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8421BB
RGBrgb(132, 33, 187)
HSLhsl(279, 70%, 43%)
HSVhsv(279, 82%, 73%)
CMYKcmyk(29.4%, 82.4%, 0%, 26.7%)
CIE-LABlab(37.08, 63.70, -60.54)
CIE-LCHlch(37.08, 87.88, 316.46°)
OKLaboklab(48.67% 0.14 -0.1721)
OKLCHoklch(48.67% 0.222 309.1)
XYZxyz(19.0274, 9.5815, 47.8511)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8421BB #58BB21
analogous
#3721BB #8421BB #BB21A5
triadic
#8421BB #BB8421 #21BB84
tetradic
#8421BB #BB3721 #58BB21 #21A5BB
square
#8421BB #BB3721 #58BB21 #21A5BB
split-complementary
#8421BB #A5BB21 #21BB37
monochromatic
#3B0F53 #5F1887 #8421BB #A33DDD #BC71E6

Accessibility & contrast

On white

7.20
#8421BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8421BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8421BB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8421BB#FFFFFF#000000##FFFFFF
##8421BB1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#7B4A70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8421bb;
/* rgb */ color: rgb(132, 33, 187);
/* oklch */ color: oklch(48.7% 0.222 309.1);
Tailwind
colors: {
  custom: {
    50: '#ad6ad0',
    500: '#8421bb',
    950: '#000000',
  },
}
SCSS
$custom: #8421bb;
$custom-light: #ad6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8421bb",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 187
  },
  "hsl": {
    "h": 278.571,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.22183,
    "h": 309.1
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#8421BB
secondary
#8ECC6B
accent
#ED3B7B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8421BB

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

Preview Lab → · Contrast checker → · Palette generator →

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