#82229B#82229B

#82229B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.192 H 318.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#82229B
RGBrgb(130, 34, 155)
HSLhsl(288, 64%, 37%)
HSVhsv(288, 78%, 61%)
CMYKcmyk(16.1%, 78.1%, 0%, 39.2%)
CIE-LABlab(34.51, 56.58, -45.56)
CIE-LCHlch(34.51, 72.64, 321.15°)
OKLaboklab(46.06% 0.1432 -0.1281)
OKLCHoklch(46.06% 0.192 318.2)
XYZxyz(15.6935, 8.2572, 31.7711)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82229B #3B9B22
analogous
#45229B #82229B #9B2278
triadic
#82229B #9B8222 #229B82
tetradic
#82229B #9B4522 #3B9B22 #22789B
square
#82229B #9B4522 #3B9B22 #22789B
split-complementary
#82229B #789B22 #229B45
monochromatic
#2E0C37 #581769 #82229B #AC2DCD #C15CDB

Accessibility & contrast

On white

7.92
#82229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#82229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82229B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82229B#FFFFFF#000000##FFFFFF
##82229B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#285498
Tritanopia (blue-blind)
#813C5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #82229b;
/* rgb */ color: rgb(130, 34, 155);
/* oklch */ color: oklch(46.1% 0.192 318.2);
Tailwind
colors: {
  custom: {
    50: '#aa69b9',
    500: '#82229b',
    950: '#000000',
  },
}
SCSS
$custom: #82229b;
$custom-light: #aa69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#82229b",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 287.603,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46064,
    "c": 0.19217,
    "h": 318.2
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#82229B
secondary
#6EC059
accent
#E74163
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #82229B

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

Preview Lab → · Contrast checker → · Palette generator →

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