#8827AB#8827AB

#8827AB is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.203 H 315.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8827AB
RGBrgb(136, 39, 171)
HSLhsl(284, 63%, 41%)
HSVhsv(284, 77%, 67%)
CMYKcmyk(20.5%, 77.2%, 0%, 32.9%)
CIE-LABlab(37.16, 59.19, -50.88)
CIE-LCHlch(37.16, 78.05, 319.32°)
OKLaboklab(48.48% 0.144 -0.1436)
OKLCHoklch(48.48% 0.203 315.1)
XYZxyz(18.2283, 9.6262, 39.4180)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8827AB #4AAB27
analogous
#4627AB #8827AB #AB278C
triadic
#8827AB #AB8827 #27AB88
tetradic
#8827AB #AB4627 #4AAB27 #278CAB
square
#8827AB #AB4627 #4AAB27 #278CAB
split-complementary
#8827AB #8CAB27 #27AB46
monochromatic
#391047 #601C79 #8827AB #AB3DD3 #C06EDE

Accessibility & contrast

On white

7.18
#8827AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8827AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8827AB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8827AB#FFFFFF#000000##FFFFFF
##8827AB1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#215AA8
Tritanopia (blue-blind)
#854568
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8827ab;
/* rgb */ color: rgb(136, 39, 171);
/* oklch */ color: oklch(48.5% 0.203 315.1);
Tailwind
colors: {
  custom: {
    50: '#af6cc5',
    500: '#8827ab',
    950: '#000000',
  },
}
SCSS
$custom: #8827ab;
$custom-light: #af6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8827ab",
  "rgb": {
    "r": 136,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 284.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48477,
    "c": 0.20337,
    "h": 315.1
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#8827AB
secondary
#81C569
accent
#E6426D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8827AB

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

Preview Lab → · Contrast checker → · Palette generator →

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