#8828B6#8828B6

#8828B6 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.212 H 311.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8828B6
RGBrgb(136, 40, 182)
HSLhsl(281, 64%, 44%)
HSVhsv(281, 78%, 71%)
CMYKcmyk(25.3%, 78%, 0%, 28.6%)
CIE-LABlab(38.07, 61.08, -55.95)
CIE-LCHlch(38.07, 82.83, 317.51°)
OKLaboklab(49.37% 0.1412 -0.1585)
OKLCHoklch(49.37% 0.212 311.7)
XYZxyz(19.3540, 10.1297, 45.1826)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828B6 #56B628
analogous
#4128B6 #8828B6 #B6289D
triadic
#8828B6 #B68828 #28B688
tetradic
#8828B6 #B64128 #56B628 #289DB6
square
#8828B6 #B64128 #56B628 #289DB6
split-complementary
#8828B6 #9DB628 #28B641
monochromatic
#3D1252 #631D84 #8828B6 #A745D6 #BF77E1

Accessibility & contrast

On white

6.94
#8828B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8828B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8828B6#FFFFFF#000000##FFFFFF
##8828B61.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#075BB3
Tritanopia (blue-blind)
#824B6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8828b6;
/* rgb */ color: rgb(136, 40, 182);
/* oklch */ color: oklch(49.4% 0.212 311.7);
Tailwind
colors: {
  custom: {
    50: '#b06dcd',
    500: '#8828b6',
    950: '#000000',
  },
}
SCSS
$custom: #8828b6;
$custom-light: #b06dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8828b6",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 280.563,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.21224,
    "h": 311.7
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#8828B6
secondary
#8DC971
accent
#E74177
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8828B6

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

Preview Lab → · Contrast checker → · Palette generator →

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