#84228D#84228D

#84228D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.181 H 324.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#84228D
RGBrgb(132, 34, 141)
HSLhsl(295, 61%, 34%)
HSVhsv(295, 76%, 55%)
CMYKcmyk(6.4%, 75.9%, 0%, 44.7%)
CIE-LABlab(33.93, 54.36, -37.92)
CIE-LCHlch(33.93, 66.28, 325.11°)
OKLaboklab(45.42% 0.147 -0.1057)
OKLCHoklch(45.42% 0.181 324.3)
XYZxyz(14.8951, 7.9736, 25.9487)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84228D #2B8D22
analogous
#4F228D #84228D #8D2261
triadic
#84228D #8D8422 #228D84
tetradic
#84228D #8D4F22 #2B8D22 #22618D
square
#84228D #8D4F22 #2B8D22 #22618D
split-complementary
#84228D #618D22 #228D4F
monochromatic
#280A2A #56165C #84228D #B22EBE #CB54D6

Accessibility & contrast

On white

8.09
#84228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#84228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84228D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84228D#FFFFFF#000000##FFFFFF
##84228D1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#873556
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #84228d;
/* rgb */ color: rgb(132, 34, 141);
/* oklch */ color: oklch(45.4% 0.181 324.3);
Tailwind
colors: {
  custom: {
    50: '#ab68af',
    500: '#84228d',
    950: '#000000',
  },
}
SCSS
$custom: #84228d;
$custom-light: #ab68af;
$custom-dark: #000000;
JSON
{
  "hex": "#84228d",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 294.953,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.18103,
    "h": 324.3
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#84228D
secondary
#5AB951
accent
#E44451
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #84228D

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

Preview Lab → · Contrast checker → · Palette generator →

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