#84228A#84228A

#84228A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.179 H 325.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#84228A
RGBrgb(132, 34, 138)
HSLhsl(297, 60%, 34%)
HSVhsv(297, 75%, 54%)
CMYKcmyk(4.3%, 75.4%, 0%, 45.9%)
CIE-LABlab(33.74, 53.82, -36.36)
CIE-LCHlch(33.74, 64.95, 325.96°)
OKLaboklab(45.23% 0.1471 -0.1012)
OKLCHoklch(45.23% 0.179 325.5)
XYZxyz(14.6749, 7.8855, 24.7890)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84228A #288A22
analogous
#50228A #84228A #8A225C
triadic
#84228A #8A8422 #228A84
tetradic
#84228A #8A5022 #288A22 #225C8A
square
#84228A #8A5022 #288A22 #225C8A
split-complementary
#84228A #5C8A22 #228A50
monochromatic
#260A28 #551659 #84228A #B32EBB #CD52D4

Accessibility & contrast

On white

8.15
#84228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#84228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84228A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84228A#FFFFFF#000000##FFFFFF
##84228A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#395387
Tritanopia (blue-blind)
#873454
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #84228a;
/* rgb */ color: rgb(132, 34, 138);
/* oklch */ color: oklch(45.2% 0.179 325.5);
Tailwind
colors: {
  custom: {
    50: '#ab68ad',
    500: '#84228a',
    950: '#000000',
  },
}
SCSS
$custom: #84228a;
$custom-light: #ab68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#84228a",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 296.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.17853,
    "h": 325.5
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#84228A
secondary
#56B850
accent
#E4444D
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #84228A

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

Preview Lab → · Contrast checker → · Palette generator →

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