#8828A3#8828A3

#8828A3 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.195 H 317.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8828A3
RGBrgb(136, 40, 163)
HSLhsl(287, 61%, 40%)
HSVhsv(287, 75%, 64%)
CMYKcmyk(16.6%, 75.5%, 0%, 36.1%)
CIE-LABlab(36.74, 57.25, -46.77)
CIE-LCHlch(36.74, 73.93, 320.75°)
OKLaboklab(48% 0.1442 -0.1315)
OKLCHoklch(48% 0.195 317.6)
XYZxyz(17.5220, 9.3969, 35.5341)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828A3 #43A328
analogous
#4A28A3 #8828A3 #A32881
triadic
#8828A3 #A38828 #28A388
tetradic
#8828A3 #A34A28 #43A328 #2881A3
square
#8828A3 #A34A28 #43A328 #2881A3
split-complementary
#8828A3 #81A328 #28A34A
monochromatic
#361041 #5F1C72 #8828A3 #AE3ACF #C26BDB

Accessibility & contrast

On white

7.29
#8828A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8828A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8828A3#FFFFFF#000000##FFFFFF
##8828A31.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8828a3;
/* rgb */ color: rgb(136, 40, 163);
/* oklch */ color: oklch(48.0% 0.195 317.6);
Tailwind
colors: {
  custom: {
    50: '#af6cbf',
    500: '#8828a3',
    950: '#000000',
  },
}
SCSS
$custom: #8828a3;
$custom-light: #af6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8828a3",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 286.829,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.19521,
    "h": 317.6
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#8828A3
secondary
#7AC166
accent
#E44467
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8828A3

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

Preview Lab → · Contrast checker → · Palette generator →

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