#8828AA#8828AA

#8828AA is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.5% C 0.201 H 315.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8828AA
RGBrgb(136, 40, 170)
HSLhsl(284, 62%, 41%)
HSVhsv(284, 76%, 67%)
CMYKcmyk(20%, 76.5%, 0%, 33.3%)
CIE-LABlab(37.22, 58.64, -50.20)
CIE-LCHlch(37.22, 77.19, 319.43°)
OKLaboklab(48.49% 0.1433 -0.1416)
OKLCHoklch(48.49% 0.201 315.3)
XYZxyz(18.1667, 9.6548, 38.9290)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828AA #4AAA28
analogous
#4728AA #8828AA #AA288B
triadic
#8828AA #AA8828 #28AA88
tetradic
#8828AA #AA4728 #4AAA28 #288BAA
square
#8828AA #AA4728 #4AAA28 #288BAA
split-complementary
#8828AA #8BAA28 #28AA47
monochromatic
#391147 #601C78 #8828AA #AB3ED2 #C06FDD

Accessibility & contrast

On white

7.17
#8828AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8828AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8828AA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8828AA#FFFFFF#000000##FFFFFF
##8828AA1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#235AA7
Tritanopia (blue-blind)
#854568
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8828aa;
/* rgb */ color: rgb(136, 40, 170);
/* oklch */ color: oklch(48.5% 0.201 315.3);
Tailwind
colors: {
  custom: {
    50: '#af6dc4',
    500: '#8828aa',
    950: '#000000',
  },
}
SCSS
$custom: #8828aa;
$custom-light: #af6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8828aa",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 284.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.20144,
    "h": 315.3
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#8828AA
secondary
#81C46A
accent
#E5436D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8828AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8828AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva