#84229D#84229D

#84229D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.195 H 318.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#84229D
RGBrgb(132, 34, 157)
HSLhsl(288, 64%, 37%)
HSVhsv(288, 78%, 62%)
CMYKcmyk(15.9%, 78.3%, 0%, 38.4%)
CIE-LABlab(34.97, 57.36, -46.02)
CIE-LCHlch(34.97, 73.54, 321.26°)
OKLaboklab(46.5% 0.1454 -0.1294)
OKLCHoklch(46.5% 0.195 318.3)
XYZxyz(16.1727, 8.4847, 32.6776)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84229D #3B9D22
analogous
#47229D #84229D #9D2278
triadic
#84229D #9D8422 #229D84
tetradic
#84229D #9D4722 #3B9D22 #22789D
square
#84229D #9D4722 #3B9D22 #22789D
split-complementary
#84229D #789D22 #229D47
monochromatic
#2F0C38 #5A176B #84229D #AE2DCF #C25DDC

Accessibility & contrast

On white

7.79
#84229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#84229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84229D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84229D#FFFFFF#000000##FFFFFF
##84229D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#28559A
Tritanopia (blue-blind)
#833D5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #84229d;
/* rgb */ color: rgb(132, 34, 157);
/* oklch */ color: oklch(46.5% 0.195 318.3);
Tailwind
colors: {
  custom: {
    50: '#ac69bb',
    500: '#84229d',
    950: '#000000',
  },
}
SCSS
$custom: #84229d;
$custom-light: #ac69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#84229d",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 287.805,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.19466,
    "h": 318.3
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#84229D
secondary
#6FC15A
accent
#E74062
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #84229D

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

Preview Lab → · Contrast checker → · Palette generator →

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