#84228C#84228C

#84228C is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.180 H 324.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#84228C
RGBrgb(132, 34, 140)
HSLhsl(295, 61%, 34%)
HSVhsv(295, 76%, 55%)
CMYKcmyk(5.7%, 75.7%, 0%, 45.1%)
CIE-LABlab(33.87, 54.18, -37.40)
CIE-LCHlch(33.87, 65.84, 325.39°)
OKLaboklab(45.36% 0.147 -0.1042)
OKLCHoklch(45.36% 0.18 324.7)
XYZxyz(14.8210, 7.9440, 25.5586)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84228C #2A8C22
analogous
#4F228C #84228C #8C225F
triadic
#84228C #8C8422 #228C84
tetradic
#84228C #8C4F22 #2A8C22 #225F8C
square
#84228C #8C4F22 #2A8C22 #225F8C
split-complementary
#84228C #5F8C22 #228C4F
monochromatic
#270A2A #56165B #84228C #B22EBD #CB53D5

Accessibility & contrast

On white

8.11
#84228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #84228C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84228C#FFFFFF#000000##FFFFFF
##84228C1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#375489
Tritanopia (blue-blind)
#873555
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #84228c;
/* rgb */ color: rgb(132, 34, 140);
/* oklch */ color: oklch(45.4% 0.180 324.7);
Tailwind
colors: {
  custom: {
    50: '#ab68ae',
    500: '#84228c',
    950: '#000000',
  },
}
SCSS
$custom: #84228c;
$custom-light: #ab68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#84228c",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 295.472,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.1802,
    "h": 324.7
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#84228C
secondary
#59B951
accent
#E44450
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #84228C

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

Preview Lab → · Contrast checker → · Palette generator →

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