#82228C#82228C

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

Color values

HEX#82228C
RGBrgb(130, 34, 140)
HSLhsl(294, 61%, 34%)
HSVhsv(294, 76%, 55%)
CMYKcmyk(7.1%, 75.7%, 0%, 45.1%)
CIE-LABlab(33.53, 53.75, -37.95)
CIE-LCHlch(33.53, 65.80, 324.77°)
OKLaboklab(45.05% 0.1447 -0.1059)
OKLCHoklch(45.05% 0.179 323.8)
XYZxyz(14.5112, 7.7842, 25.5440)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82228C #2C8C22
analogous
#4D228C #82228C #8C2261
triadic
#82228C #8C8222 #228C82
tetradic
#82228C #8C4D22 #2C8C22 #22618C
square
#82228C #8C4D22 #2C8C22 #22618C
split-complementary
#82228C #618C22 #228C4D
monochromatic
#270A2A #54165B #82228C #B02EBD #C953D5

Accessibility & contrast

On white

8.21
#82228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #82228C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82228C#FFFFFF#000000##FFFFFF
##82228C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#355389
Tritanopia (blue-blind)
#843555
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82228c;
/* rgb */ color: rgb(130, 34, 140);
/* oklch */ color: oklch(45.1% 0.179 323.8);
Tailwind
colors: {
  custom: {
    50: '#aa68ae',
    500: '#82228c',
    950: '#000000',
  },
}
SCSS
$custom: #82228c;
$custom-light: #aa68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#82228c",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 294.34,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.17928,
    "h": 323.8
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#82228C
secondary
#5BB951
accent
#E44453
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82228C

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

Preview Lab → · Contrast checker → · Palette generator →

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