#8828B7#8828B7

#8828B7 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.213 H 311.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8828B7
RGBrgb(136, 40, 183)
HSLhsl(280, 64%, 44%)
HSVhsv(280, 78%, 72%)
CMYKcmyk(25.7%, 78.1%, 0%, 28.2%)
CIE-LABlab(38.15, 61.29, -56.42)
CIE-LCHlch(38.15, 83.30, 317.37°)
OKLaboklab(49.44% 0.141 -0.1599)
OKLCHoklch(49.44% 0.213 311.4)
XYZxyz(19.4578, 10.1712, 45.7288)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828B7 #57B728
analogous
#4028B7 #8828B7 #B7289E
triadic
#8828B7 #B78828 #28B788
tetradic
#8828B7 #B74028 #57B728 #289EB7
square
#8828B7 #B74028 #57B728 #289EB7
split-complementary
#8828B7 #9EB728 #28B740
monochromatic
#3D1253 #631D85 #8828B7 #A746D6 #BF78E1

Accessibility & contrast

On white

6.92
#8828B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8828B7#FFFFFF#000000##FFFFFF
##8828B71.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#025BB4
Tritanopia (blue-blind)
#824B6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8828b7;
/* rgb */ color: rgb(136, 40, 183);
/* oklch */ color: oklch(49.4% 0.213 311.4);
Tailwind
colors: {
  custom: {
    50: '#b06dcd',
    500: '#8828b7',
    950: '#000000',
  },
}
SCSS
$custom: #8828b7;
$custom-light: #b06dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8828b7",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 280.28,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.21314,
    "h": 311.4
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#8828B7
secondary
#8EC972
accent
#E74177
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8828B7

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

Preview Lab → · Contrast checker → · Palette generator →

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