#84229F#84229F

#84229F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.196 H 317.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#84229F
RGBrgb(132, 34, 159)
HSLhsl(287, 65%, 38%)
HSVhsv(287, 79%, 62%)
CMYKcmyk(17%, 78.6%, 0%, 37.6%)
CIE-LABlab(35.11, 57.75, -47.01)
CIE-LCHlch(35.11, 74.46, 320.85°)
OKLaboklab(46.64% 0.1451 -0.1323)
OKLCHoklch(46.64% 0.196 317.6)
XYZxyz(16.3449, 8.5535, 33.5842)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84229F #3D9F22
analogous
#45229F #84229F #9F227B
triadic
#84229F #9F8422 #229F84
tetradic
#84229F #9F4522 #3D9F22 #227B9F
square
#84229F #9F4522 #3D9F22 #227B9F
split-complementary
#84229F #7B9F22 #229F45
monochromatic
#300C3A #5A176D #84229F #AE2DD1 #C15FDD

Accessibility & contrast

On white

7.75
#84229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#84229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84229F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84229F#FFFFFF#000000##FFFFFF
##84229F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#833E60
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #84229f;
/* rgb */ color: rgb(132, 34, 159);
/* oklch */ color: oklch(46.6% 0.196 317.6);
Tailwind
colors: {
  custom: {
    50: '#ac69bc',
    500: '#84229f',
    950: '#000000',
  },
}
SCSS
$custom: #84229f;
$custom-light: #ac69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#84229f",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 287.04,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.1964,
    "h": 317.6
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#84229F
secondary
#71C15B
accent
#E84064
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #84229F

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

Preview Lab → · Contrast checker → · Palette generator →

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