#84218B#84218B

#84218B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.180 H 325.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#84218B
RGBrgb(132, 33, 139)
HSLhsl(296, 62%, 34%)
HSVhsv(296, 76%, 55%)
CMYKcmyk(5%, 76.3%, 0%, 45.5%)
CIE-LABlab(33.69, 54.34, -37.07)
CIE-LCHlch(33.69, 65.78, 325.70°)
OKLaboklab(45.21% 0.148 -0.1032)
OKLCHoklch(45.21% 0.18 325.1)
XYZxyz(14.7194, 7.8583, 25.1626)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84218B #288B21
analogous
#4F218B #84218B #8B215D
triadic
#84218B #8B8421 #218B84
tetradic
#84218B #8B4F21 #288B21 #215D8B
square
#84218B #8B4F21 #288B21 #215D8B
split-complementary
#84218B #5D8B21 #218B4F
monochromatic
#260A28 #55155A #84218B #B32DBC #CD51D6

Accessibility & contrast

On white

8.17
#84218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#84218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84218B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84218B#FFFFFF#000000##FFFFFF
##84218B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#873455
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #84218b;
/* rgb */ color: rgb(132, 33, 139);
/* oklch */ color: oklch(45.2% 0.180 325.1);
Tailwind
colors: {
  custom: {
    50: '#ab68ad',
    500: '#84218b',
    950: '#000000',
  },
}
SCSS
$custom: #84218b;
$custom-light: #ab68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#84218b",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 296.038,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.18044,
    "h": 325.1
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#84218B
secondary
#56B94F
accent
#E5434E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #84218B

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

Preview Lab → · Contrast checker → · Palette generator →

#84218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva