#8827A4#8827A4

#8827A4 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.197 H 317.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8827A4
RGBrgb(136, 39, 164)
HSLhsl(287, 62%, 40%)
HSVhsv(287, 76%, 64%)
CMYKcmyk(17.1%, 76.2%, 0%, 35.7%)
CIE-LABlab(36.68, 57.80, -47.46)
CIE-LCHlch(36.68, 74.79, 320.61°)
OKLaboklab(47.98% 0.145 -0.1336)
OKLCHoklch(47.98% 0.197 317.4)
XYZxyz(17.5787, 9.3664, 35.9967)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8827A4 #43A427
analogous
#4A27A4 #8827A4 #A42782
triadic
#8827A4 #A48827 #27A488
tetradic
#8827A4 #A44A27 #43A427 #2782A4
square
#8827A4 #A44A27 #43A427 #2782A4
split-complementary
#8827A4 #82A427 #27A44A
monochromatic
#360F41 #5F1B73 #8827A4 #AE38D0 #C26ADC

Accessibility & contrast

On white

7.31
#8827A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8827A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8827A4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8827A4#FFFFFF#000000##FFFFFF
##8827A41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#874264
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8827a4;
/* rgb */ color: rgb(136, 39, 164);
/* oklch */ color: oklch(48.0% 0.197 317.4);
Tailwind
colors: {
  custom: {
    50: '#af6cc0',
    500: '#8827a4',
    950: '#000000',
  },
}
SCSS
$custom: #8827a4;
$custom-light: #af6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8827a4",
  "rgb": {
    "r": 136,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 286.56,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.19716,
    "h": 317.4
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#8827A4
secondary
#7AC265
accent
#E54367
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8827A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8827A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva