#822A88#822A88

#822A88 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.166 H 325.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#822A88
RGBrgb(130, 42, 136)
HSLhsl(296, 53%, 35%)
HSVhsv(296, 69%, 53%)
CMYKcmyk(4.4%, 69.1%, 0%, 46.7%)
CIE-LABlab(34.36, 49.98, -34.17)
CIE-LCHlch(34.36, 60.54, 325.64°)
OKLaboklab(45.57% 0.1364 -0.0949)
OKLCHoklch(45.57% 0.166 325.2)
XYZxyz(14.4775, 8.1802, 24.1042)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822A88 #30882A
analogous
#532A88 #822A88 #882A5F
triadic
#822A88 #88822A #2A8882
tetradic
#822A88 #88532A #30882A #2A5F88
square
#822A88 #88532A #30882A #2A5F88
split-complementary
#822A88 #5F882A #2A8853
monochromatic
#290D2A #551C59 #822A88 #AF38B7 #C65FCE

Accessibility & contrast

On white

7.97
#822A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#822A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822A88
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822A88#FFFFFF#000000##FFFFFF
##822A881.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#3C5586
Tritanopia (blue-blind)
#853955
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822a88;
/* rgb */ color: rgb(130, 42, 136);
/* oklch */ color: oklch(45.6% 0.166 325.2);
Tailwind
colors: {
  custom: {
    50: '#a96bab',
    500: '#822a88',
    950: '#000000',
  },
}
SCSS
$custom: #822a88;
$custom-light: #a96bab;
$custom-dark: #000000;
JSON
{
  "hex": "#822a88",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 296.17,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.16617,
    "h": 325.2
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#822A88
secondary
#60B35B
accent
#DC4C55
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822A88

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

Preview Lab → · Contrast checker → · Palette generator →

#822A88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva