#8828AC#8828AC

#8828AC is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.203 H 314.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8828AC
RGBrgb(136, 40, 172)
HSLhsl(284, 62%, 42%)
HSVhsv(284, 77%, 67%)
CMYKcmyk(20.9%, 76.7%, 0%, 32.5%)
CIE-LABlab(37.36, 59.04, -51.17)
CIE-LCHlch(37.36, 78.13, 319.09°)
OKLaboklab(48.63% 0.143 -0.1444)
OKLCHoklch(48.63% 0.203 314.7)
XYZxyz(18.3573, 9.7310, 39.9330)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828AC #4CAC28
analogous
#4628AC #8828AC #AC288E
triadic
#8828AC #AC8828 #28AC88
tetradic
#8828AC #AC4628 #4CAC28 #288EAC
square
#8828AC #AC4628 #4CAC28 #288EAC
split-complementary
#8828AC #8EAC28 #28AC46
monochromatic
#391149 #611C7A #8828AC #AA3FD2 #C071DE

Accessibility & contrast

On white

7.13
#8828AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8828AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8828AC#FFFFFF#000000##FFFFFF
##8828AC1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#205AA9
Tritanopia (blue-blind)
#854669
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8828ac;
/* rgb */ color: rgb(136, 40, 172);
/* oklch */ color: oklch(48.6% 0.203 314.7);
Tailwind
colors: {
  custom: {
    50: '#af6dc5',
    500: '#8828ac',
    950: '#000000',
  },
}
SCSS
$custom: #8828ac;
$custom-light: #af6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8828ac",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 283.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.20324,
    "h": 314.7
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#8828AC
secondary
#83C56B
accent
#E5426F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8828AC

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

Preview Lab → · Contrast checker → · Palette generator →

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