#8420BB#8420BB

#8420BB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.6% C 0.223 H 309.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8420BB
RGBrgb(132, 32, 187)
HSLhsl(279, 71%, 43%)
HSVhsv(279, 83%, 73%)
CMYKcmyk(29.4%, 82.9%, 0%, 26.7%)
CIE-LABlab(36.98, 63.99, -60.70)
CIE-LCHlch(36.98, 88.21, 316.51°)
OKLaboklab(48.6% 0.1407 -0.1725)
OKLCHoklch(48.6% 0.223 309.2)
XYZxyz(19.0000, 9.5268, 47.8420)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8420BB #57BB20
analogous
#3720BB #8420BB #BB20A4
triadic
#8420BB #BB8420 #20BB84
tetradic
#8420BB #BB3720 #57BB20 #20A4BB
square
#8420BB #BB3720 #57BB20 #20A4BB
split-complementary
#8420BB #A4BB20 #20BB37
monochromatic
#3A0E52 #5F1787 #8420BB #A43BDD #BC6FE6

Accessibility & contrast

On white

7.23
#8420BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8420BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8420BB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8420BB#FFFFFF#000000##FFFFFF
##8420BB1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8420bb;
/* rgb */ color: rgb(132, 32, 187);
/* oklch */ color: oklch(48.6% 0.223 309.2);
Tailwind
colors: {
  custom: {
    50: '#ad6ad0',
    500: '#8420bb',
    950: '#000000',
  },
}
SCSS
$custom: #8420bb;
$custom-light: #ad6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8420bb",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 278.71,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.486,
    "c": 0.22264,
    "h": 309.2
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#8420BB
secondary
#8DCD6A
accent
#EE3A7A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8420BB

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

Preview Lab → · Contrast checker → · Palette generator →

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