#882198#882198

#882198 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.193 H 321.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#882198
RGBrgb(136, 33, 152)
HSLhsl(292, 64%, 36%)
HSVhsv(292, 78%, 60%)
CMYKcmyk(10.5%, 78.3%, 0%, 40.4%)
CIE-LABlab(35.18, 57.54, -42.61)
CIE-LCHlch(35.18, 71.60, 323.48°)
OKLaboklab(46.67% 0.1517 -0.1193)
OKLCHoklch(46.67% 0.193 321.8)
XYZxyz(16.3641, 8.5899, 30.4958)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882198 #319821
analogous
#4D2198 #882198 #98216D
triadic
#882198 #988821 #219888
tetradic
#882198 #984D21 #319821 #216D98
square
#882198 #984D21 #319821 #216D98
split-complementary
#882198 #6D9821 #21984D
monochromatic
#2E0B33 #5B1666 #882198 #B52CCA #C959DB

Accessibility & contrast

On white

7.73
#882198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#882198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882198
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882198#FFFFFF#000000##FFFFFF
##8821981.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#89395C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #882198;
/* rgb */ color: rgb(136, 33, 152);
/* oklch */ color: oklch(46.7% 0.193 321.8);
Tailwind
colors: {
  custom: {
    50: '#ae69b7',
    500: '#882198',
    950: '#000000',
  },
}
SCSS
$custom: #882198;
$custom-light: #ae69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#882198",
  "rgb": {
    "r": 136,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 291.933,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.19301,
    "h": 321.8
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#882198
secondary
#64BF56
accent
#E74057
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #882198

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

Preview Lab → · Contrast checker → · Palette generator →

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