#84228F#84228F

#84228F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.183 H 323.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#84228F
RGBrgb(132, 34, 143)
HSLhsl(294, 62%, 35%)
HSVhsv(294, 76%, 56%)
CMYKcmyk(7.7%, 76.2%, 0%, 43.9%)
CIE-LABlab(34.05, 54.73, -38.95)
CIE-LCHlch(34.05, 67.17, 324.56°)
OKLaboklab(45.55% 0.1469 -0.1087)
OKLCHoklch(45.55% 0.183 323.5)
XYZxyz(15.0452, 8.0337, 26.7395)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84228F #2D8F22
analogous
#4E228F #84228F #8F2264
triadic
#84228F #8F8422 #228F84
tetradic
#84228F #8F4E22 #2D8F22 #22648F
square
#84228F #8F4E22 #2D8F22 #22648F
split-complementary
#84228F #648F22 #228F4E
monochromatic
#290A2C #56165E #84228F #B22EC0 #C955D7

Accessibility & contrast

On white

8.06
#84228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#84228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84228F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84228F#FFFFFF#000000##FFFFFF
##84228F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#35548C
Tritanopia (blue-blind)
#863657
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #84228f;
/* rgb */ color: rgb(132, 34, 143);
/* oklch */ color: oklch(45.6% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#ab68b0',
    500: '#84228f',
    950: '#000000',
  },
}
SCSS
$custom: #84228f;
$custom-light: #ab68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#84228f",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 293.945,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45551,
    "c": 0.18272,
    "h": 323.5
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#84228F
secondary
#5DBA52
accent
#E54353
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #84228F

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

Preview Lab → · Contrast checker → · Palette generator →

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