#84228E#84228E

#84228E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 323.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#84228E
RGBrgb(132, 34, 142)
HSLhsl(294, 61%, 35%)
HSVhsv(294, 76%, 56%)
CMYKcmyk(7%, 76.1%, 0%, 44.3%)
CIE-LABlab(33.99, 54.55, -38.43)
CIE-LCHlch(33.99, 66.72, 324.83°)
OKLaboklab(45.49% 0.1469 -0.1072)
OKLCHoklch(45.49% 0.182 323.9)
XYZxyz(14.9698, 8.0035, 26.3423)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84228E #2C8E22
analogous
#4E228E #84228E #8E2262
triadic
#84228E #8E8422 #228E84
tetradic
#84228E #8E4E22 #2C8E22 #22628E
square
#84228E #8E4E22 #2C8E22 #22628E
split-complementary
#84228E #628E22 #228E4E
monochromatic
#280A2B #56165D #84228E #B22EBF #CA54D6

Accessibility & contrast

On white

8.08
#84228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#84228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84228E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84228E#FFFFFF#000000##FFFFFF
##84228E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#36548B
Tritanopia (blue-blind)
#863657
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #84228e;
/* rgb */ color: rgb(132, 34, 142);
/* oklch */ color: oklch(45.5% 0.182 323.9);
Tailwind
colors: {
  custom: {
    50: '#ab68af',
    500: '#84228e',
    950: '#000000',
  },
}
SCSS
$custom: #84228e;
$custom-light: #ab68af;
$custom-dark: #000000;
JSON
{
  "hex": "#84228e",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 294.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.18187,
    "h": 323.9
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#84228E
secondary
#5CBA52
accent
#E44352
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #84228E

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

Preview Lab → · Contrast checker → · Palette generator →

#84228E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva