#82228D#82228D

#82228D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.180 H 323.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#82228D
RGBrgb(130, 34, 141)
HSLhsl(294, 61%, 34%)
HSVhsv(294, 76%, 55%)
CMYKcmyk(7.8%, 75.9%, 0%, 44.7%)
CIE-LABlab(33.59, 53.93, -38.47)
CIE-LCHlch(33.59, 66.24, 324.50°)
OKLaboklab(45.12% 0.1446 -0.1074)
OKLCHoklch(45.12% 0.18 323.4)
XYZxyz(14.5852, 7.8139, 25.9341)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82228D #2D8D22
analogous
#4D228D #82228D #8D2263
triadic
#82228D #8D8222 #228D82
tetradic
#82228D #8D4D22 #2D8D22 #22638D
square
#82228D #8D4D22 #2D8D22 #22638D
split-complementary
#82228D #638D22 #228D4D
monochromatic
#270A2A #55165C #82228D #AF2EBE #C854D6

Accessibility & contrast

On white

8.19
#82228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#82228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82228D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82228D#FFFFFF#000000##FFFFFF
##82228D1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#843656
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82228d;
/* rgb */ color: rgb(130, 34, 141);
/* oklch */ color: oklch(45.1% 0.180 323.4);
Tailwind
colors: {
  custom: {
    50: '#aa68af',
    500: '#82228d',
    950: '#000000',
  },
}
SCSS
$custom: #82228d;
$custom-light: #aa68af;
$custom-dark: #000000;
JSON
{
  "hex": "#82228d",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 293.832,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.18012,
    "h": 323.4
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#82228D
secondary
#5CB951
accent
#E44454
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82228D

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

Preview Lab → · Contrast checker → · Palette generator →

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