#822198#822198

#822198 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.191 H 319.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#822198
RGBrgb(130, 33, 152)
HSLhsl(289, 64%, 36%)
HSVhsv(289, 78%, 60%)
CMYKcmyk(14.5%, 78.3%, 0%, 40.4%)
CIE-LABlab(34.19, 56.33, -44.25)
CIE-LCHlch(34.19, 71.63, 321.85°)
OKLaboklab(45.77% 0.1445 -0.1243)
OKLCHoklch(45.77% 0.191 319.3)
XYZxyz(15.4165, 8.1013, 30.4513)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822198 #379821
analogous
#472198 #822198 #982173
triadic
#822198 #988221 #219882
tetradic
#822198 #984721 #379821 #217398
square
#822198 #984721 #379821 #217398
split-complementary
#822198 #739821 #219847
monochromatic
#2C0B33 #571666 #822198 #AD2CCA #C359DB

Accessibility & contrast

On white

8.01
#822198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#822198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822198
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822198#FFFFFF#000000##FFFFFF
##8221981.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#2A5495
Tritanopia (blue-blind)
#823A5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #822198;
/* rgb */ color: rgb(130, 33, 152);
/* oklch */ color: oklch(45.8% 0.191 319.3);
Tailwind
colors: {
  custom: {
    50: '#aa68b7',
    500: '#822198',
    950: '#000000',
  },
}
SCSS
$custom: #822198;
$custom-light: #aa68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#822198",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 288.908,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.19058,
    "h": 319.3
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#822198
secondary
#69BF56
accent
#E7405F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822198

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

Preview Lab → · Contrast checker → · Palette generator →

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