#82229D#82229D

#82229D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.194 H 317.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#82229D
RGBrgb(130, 34, 157)
HSLhsl(287, 64%, 37%)
HSVhsv(287, 78%, 62%)
CMYKcmyk(17.2%, 78.3%, 0%, 38.4%)
CIE-LABlab(34.65, 56.97, -46.56)
CIE-LCHlch(34.65, 73.57, 320.74°)
OKLaboklab(46.21% 0.1429 -0.1311)
OKLCHoklch(46.21% 0.194 317.5)
XYZxyz(15.8629, 8.3249, 32.6630)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82229D #3D9D22
analogous
#44229D #82229D #9D227B
triadic
#82229D #9D8222 #229D82
tetradic
#82229D #9D4422 #3D9D22 #227B9D
square
#82229D #9D4422 #3D9D22 #227B9D
split-complementary
#82229D #7B9D22 #229D44
monochromatic
#2F0C38 #58176B #82229D #AC2DCF #C05DDC

Accessibility & contrast

On white

7.88
#82229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#82229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82229D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82229D#FFFFFF#000000##FFFFFF
##82229D1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#25549A
Tritanopia (blue-blind)
#813D5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #82229d;
/* rgb */ color: rgb(130, 34, 157);
/* oklch */ color: oklch(46.2% 0.194 317.5);
Tailwind
colors: {
  custom: {
    50: '#aa69bb',
    500: '#82229d',
    950: '#000000',
  },
}
SCSS
$custom: #82229d;
$custom-light: #aa69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#82229d",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 286.829,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46205,
    "c": 0.19391,
    "h": 317.5
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#82229D
secondary
#71C15A
accent
#E74065
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #82229D

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

Preview Lab → · Contrast checker → · Palette generator →

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