#8828A9#8828A9

#8828A9 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.201 H 315.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8828A9
RGBrgb(136, 40, 169)
HSLhsl(285, 62%, 41%)
HSVhsv(285, 76%, 66%)
CMYKcmyk(19.5%, 76.3%, 0%, 33.7%)
CIE-LABlab(37.15, 58.44, -49.71)
CIE-LCHlch(37.15, 76.72, 319.61°)
OKLaboklab(48.42% 0.1434 -0.1402)
OKLCHoklch(48.42% 0.201 315.7)
XYZxyz(18.0724, 9.6171, 38.4327)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828A9 #49A928
analogous
#4728A9 #8828A9 #A92889
triadic
#8828A9 #A98828 #28A988
tetradic
#8828A9 #A94728 #49A928 #2889A9
square
#8828A9 #A94728 #49A928 #2889A9
split-complementary
#8828A9 #89A928 #28A947
monochromatic
#381146 #601C78 #8828A9 #AB3DD1 #C16FDD

Accessibility & contrast

On white

7.18
#8828A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8828A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8828A9#FFFFFF#000000##FFFFFF
##8828A91.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#255AA6
Tritanopia (blue-blind)
#864567
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8828a9;
/* rgb */ color: rgb(136, 40, 169);
/* oklch */ color: oklch(48.4% 0.201 315.7);
Tailwind
colors: {
  custom: {
    50: '#af6dc3',
    500: '#8828a9',
    950: '#000000',
  },
}
SCSS
$custom: #8828a9;
$custom-light: #af6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8828a9",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 284.651,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.20055,
    "h": 315.7
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#8828A9
secondary
#80C469
accent
#E5436C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8828A9

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

Preview Lab → · Contrast checker → · Palette generator →

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