#84228B#84228B

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

Color values

HEX#84228B
RGBrgb(132, 34, 139)
HSLhsl(296, 61%, 34%)
HSVhsv(296, 76%, 55%)
CMYKcmyk(5%, 75.5%, 0%, 45.5%)
CIE-LABlab(33.80, 54.00, -36.88)
CIE-LCHlch(33.80, 65.39, 325.67°)
OKLaboklab(45.29% 0.1471 -0.1027)
OKLCHoklch(45.29% 0.179 325.1)
XYZxyz(14.7476, 7.9146, 25.1720)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84228B #298B22
analogous
#50228B #84228B #8B225E
triadic
#84228B #8B8422 #228B84
tetradic
#84228B #8B5022 #298B22 #225E8B
square
#84228B #8B5022 #298B22 #225E8B
split-complementary
#84228B #5E8B22 #228B50
monochromatic
#270A29 #55165A #84228B #B32EBC #CC53D5

Accessibility & contrast

On white

8.13
#84228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #84228B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84228B#FFFFFF#000000##FFFFFF
##84228B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #84228b;
/* rgb */ color: rgb(132, 34, 139);
/* oklch */ color: oklch(45.3% 0.179 325.1);
Tailwind
colors: {
  custom: {
    50: '#ab68ad',
    500: '#84228b',
    950: '#000000',
  },
}
SCSS
$custom: #84228b;
$custom-light: #ab68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#84228b",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 296,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45294,
    "c": 0.17936,
    "h": 325.1
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#84228B
secondary
#57B850
accent
#E4444F
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #84228B

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

Preview Lab → · Contrast checker → · Palette generator →

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