#822188#822188

#822188 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.177 H 325.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#822188
RGBrgb(130, 33, 136)
HSLhsl(297, 61%, 33%)
HSVhsv(297, 76%, 53%)
CMYKcmyk(4.4%, 75.7%, 0%, 46.7%)
CIE-LABlab(33.16, 53.37, -36.07)
CIE-LCHlch(33.16, 64.41, 325.95°)
OKLaboklab(44.71% 0.1458 -0.1004)
OKLCHoklch(44.71% 0.177 325.5)
XYZxyz(14.1934, 7.6121, 24.0095)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822188 #278821
analogous
#4E2188 #822188 #88215A
triadic
#822188 #888221 #218882
tetradic
#822188 #884E21 #278821 #215A88
square
#822188 #884E21 #278821 #215A88
split-complementary
#822188 #5A8821 #21884E
monochromatic
#240925 #531557 #822188 #B12DB9 #CD4FD4

Accessibility & contrast

On white

8.33
#822188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#822188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822188
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822188#FFFFFF#000000##FFFFFF
##8221881.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#385286
Tritanopia (blue-blind)
#853353
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822188;
/* rgb */ color: rgb(130, 33, 136);
/* oklch */ color: oklch(44.7% 0.177 325.5);
Tailwind
colors: {
  custom: {
    50: '#aa67ab',
    500: '#822188',
    950: '#000000',
  },
}
SCSS
$custom: #822188;
$custom-light: #aa67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#822188",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 296.505,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.17702,
    "h": 325.5
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#822188
secondary
#53B84D
accent
#E4444D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822188

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

Preview Lab → · Contrast checker → · Palette generator →

#822188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva