#882EAF#882EAF

#882EAF is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.199 H 313.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#882EAF
RGBrgb(136, 46, 175)
HSLhsl(282, 58%, 43%)
HSVhsv(282, 74%, 69%)
CMYKcmyk(22.3%, 73.7%, 0%, 31.4%)
CIE-LABlab(38.35, 57.41, -51.35)
CIE-LCHlch(38.35, 77.03, 318.19°)
OKLaboklab(49.4% 0.1369 -0.145)
OKLCHoklch(49.4% 0.199 313.4)
XYZxyz(18.8668, 10.2840, 41.5403)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EAF #55AF2E
analogous
#472EAF #882EAF #AF2E95
triadic
#882EAF #AF882E #2EAF88
tetradic
#882EAF #AF472E #55AF2E #2E95AF
square
#882EAF #AF472E #55AF2E #2E95AF
split-complementary
#882EAF #95AF2E #2EAF47
monochromatic
#3D154E #62217F #882EAF #A74BD0 #BF7BDC

Accessibility & contrast

On white

6.87
#882EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#882EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EAF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EAF#FFFFFF#000000##FFFFFF
##882EAF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#225CAC
Tritanopia (blue-blind)
#844A6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882eaf;
/* rgb */ color: rgb(136, 46, 175);
/* oklch */ color: oklch(49.4% 0.199 313.4);
Tailwind
colors: {
  custom: {
    50: '#af70c8',
    500: '#882eaf',
    950: '#000000',
  },
}
SCSS
$custom: #882eaf;
$custom-light: #af70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#882eaf",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 281.86,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.19946,
    "h": 313.4
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#882EAF
secondary
#8CC574
accent
#E24675
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882EAF

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

Preview Lab → · Contrast checker → · Palette generator →

#882EAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva