#82229F#82229F

#82229F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.196 H 316.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#82229F
RGBrgb(130, 34, 159)
HSLhsl(286, 65%, 38%)
HSVhsv(286, 79%, 62%)
CMYKcmyk(18.2%, 78.6%, 0%, 37.6%)
CIE-LABlab(34.79, 57.36, -47.54)
CIE-LCHlch(34.79, 74.50, 320.34°)
OKLaboklab(46.35% 0.1426 -0.134)
OKLCHoklch(46.35% 0.196 316.8)
XYZxyz(16.0350, 8.3938, 33.5697)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82229F #3F9F22
analogous
#43229F #82229F #9F227D
triadic
#82229F #9F8222 #229F82
tetradic
#82229F #9F4322 #3F9F22 #227D9F
square
#82229F #9F4322 #3F9F22 #227D9F
split-complementary
#82229F #7D9F22 #229F43
monochromatic
#300C3A #59176D #82229F #AB2DD1 #BF5FDD

Accessibility & contrast

On white

7.84
#82229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#82229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82229F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82229F#FFFFFF#000000##FFFFFF
##82229F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#23549C
Tritanopia (blue-blind)
#803E60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #82229f;
/* rgb */ color: rgb(130, 34, 159);
/* oklch */ color: oklch(46.3% 0.196 316.8);
Tailwind
colors: {
  custom: {
    50: '#aa69bc',
    500: '#82229f',
    950: '#000000',
  },
}
SCSS
$custom: #82229f;
$custom-light: #aa69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#82229f",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 286.08,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46347,
    "c": 0.19566,
    "h": 316.8
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#82229F
secondary
#73C15B
accent
#E84067
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #82229F

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

Preview Lab → · Contrast checker → · Palette generator →

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