#82228F#82228F

#82228F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.182 H 322.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#82228F
RGBrgb(130, 34, 143)
HSLhsl(293, 62%, 35%)
HSVhsv(293, 76%, 56%)
CMYKcmyk(9.1%, 76.2%, 0%, 43.9%)
CIE-LABlab(33.72, 54.30, -39.50)
CIE-LCHlch(33.72, 67.15, 323.97°)
OKLaboklab(45.25% 0.1445 -0.1104)
OKLCHoklch(45.25% 0.182 322.6)
XYZxyz(14.7354, 7.8739, 26.7249)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82228F #2F8F22
analogous
#4C228F #82228F #8F2266
triadic
#82228F #8F8222 #228F82
tetradic
#82228F #8F4C22 #2F8F22 #22668F
square
#82228F #8F4C22 #2F8F22 #22668F
split-complementary
#82228F #668F22 #228F4C
monochromatic
#280A2C #55165E #82228F #AF2EC0 #C755D7

Accessibility & contrast

On white

8.16
#82228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #82228F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82228F#FFFFFF#000000##FFFFFF
##82228F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#33538C
Tritanopia (blue-blind)
#843757
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82228f;
/* rgb */ color: rgb(130, 34, 143);
/* oklch */ color: oklch(45.2% 0.182 322.6);
Tailwind
colors: {
  custom: {
    50: '#aa68b0',
    500: '#82228f',
    950: '#000000',
  },
}
SCSS
$custom: #82228f;
$custom-light: #aa68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#82228f",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 292.844,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.18182,
    "h": 322.6
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#82228F
secondary
#5FBA52
accent
#E54356
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82228F

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

Preview Lab → · Contrast checker → · Palette generator →

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