#82228E#82228E

#82228E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.181 H 323.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#82228E
RGBrgb(130, 34, 142)
HSLhsl(293, 61%, 35%)
HSVhsv(293, 76%, 56%)
CMYKcmyk(8.5%, 76.1%, 0%, 44.3%)
CIE-LABlab(33.66, 54.11, -38.99)
CIE-LCHlch(33.66, 66.69, 324.23°)
OKLaboklab(45.18% 0.1445 -0.1089)
OKLCHoklch(45.18% 0.181 323)
XYZxyz(14.6600, 7.8437, 26.3278)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82228E #2E8E22
analogous
#4C228E #82228E #8E2264
triadic
#82228E #8E8222 #228E82
tetradic
#82228E #8E4C22 #2E8E22 #22648E
square
#82228E #8E4C22 #2E8E22 #22648E
split-complementary
#82228E #648E22 #228E4C
monochromatic
#280A2B #55165D #82228E #AF2EBF #C854D6

Accessibility & contrast

On white

8.18
#82228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#82228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82228E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82228E#FFFFFF#000000##FFFFFF
##82228E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#843657
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82228e;
/* rgb */ color: rgb(130, 34, 142);
/* oklch */ color: oklch(45.2% 0.181 323.0);
Tailwind
colors: {
  custom: {
    50: '#aa68b0',
    500: '#82228e',
    950: '#000000',
  },
}
SCSS
$custom: #82228e;
$custom-light: #aa68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#82228e",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 293.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.18097,
    "h": 323
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#82228E
secondary
#5DBA52
accent
#E44355
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82228E

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

Preview Lab → · Contrast checker → · Palette generator →

#82228E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva