#8421BD#8421BD

#8421BD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.224 H 308.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8421BD
RGBrgb(132, 33, 189)
HSLhsl(278, 70%, 44%)
HSVhsv(278, 83%, 74%)
CMYKcmyk(30.2%, 82.5%, 0%, 25.9%)
CIE-LABlab(37.24, 64.11, -61.46)
CIE-LCHlch(37.24, 88.81, 316.21°)
OKLaboklab(48.83% 0.1395 -0.1748)
OKLCHoklch(48.83% 0.224 308.6)
XYZxyz(19.2430, 9.6677, 48.9866)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8421BD #5ABD21
analogous
#3621BD #8421BD #BD21A8
triadic
#8421BD #BD8421 #21BD84
tetradic
#8421BD #BD3621 #5ABD21 #21A8BD
square
#8421BD #BD3621 #5ABD21 #21A8BD
split-complementary
#8421BD #A8BD21 #21BD36
monochromatic
#3B0F55 #601889 #8421BD #A33EDD #BC72E6

Accessibility & contrast

On white

7.16
#8421BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8421BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8421BD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8421BD#FFFFFF#000000##FFFFFF
##8421BD1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#7B4B71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8421bd;
/* rgb */ color: rgb(132, 33, 189);
/* oklch */ color: oklch(48.8% 0.224 308.6);
Tailwind
colors: {
  custom: {
    50: '#ae6ad2',
    500: '#8421bd',
    950: '#000000',
  },
}
SCSS
$custom: #8421bd;
$custom-light: #ae6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8421bd",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 278.077,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.2236,
    "h": 308.6
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#8421BD
secondary
#90CD6D
accent
#ED3B7C
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8421BD

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

Preview Lab → · Contrast checker → · Palette generator →

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