#84218F#84218F

#84218F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.184 H 323.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#84218F
RGBrgb(132, 33, 143)
HSLhsl(294, 63%, 35%)
HSVhsv(294, 77%, 56%)
CMYKcmyk(7.7%, 76.9%, 0%, 43.9%)
CIE-LABlab(33.94, 55.06, -39.13)
CIE-LCHlch(33.94, 67.55, 324.60°)
OKLaboklab(45.47% 0.1478 -0.1093)
OKLCHoklch(45.47% 0.184 323.5)
XYZxyz(15.0170, 7.9773, 26.7301)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84218F #2C8F21
analogous
#4D218F #84218F #8F2163
triadic
#84218F #8F8421 #218F84
tetradic
#84218F #8F4D21 #2C8F21 #21638F
square
#84218F #8F4D21 #2C8F21 #21638F
split-complementary
#84218F #638F21 #218F4D
monochromatic
#280A2C #56165D #84218F #B22CC1 #CA53D7

Accessibility & contrast

On white

8.09
#84218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#84218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84218F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84218F#FFFFFF#000000##FFFFFF
##84218F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#35548C
Tritanopia (blue-blind)
#863657
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #84218f;
/* rgb */ color: rgb(132, 33, 143);
/* oklch */ color: oklch(45.5% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#ab68b0',
    500: '#84218f',
    950: '#000000',
  },
}
SCSS
$custom: #84218f;
$custom-light: #ab68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#84218f",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 294,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.18378,
    "h": 323.5
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#84218F
secondary
#5CBB51
accent
#E64253
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #84218F

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

Preview Lab → · Contrast checker → · Palette generator →

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