#8828B2#8828B2

#8828B2 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.209 H 312.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8828B2
RGBrgb(136, 40, 178)
HSLhsl(282, 63%, 43%)
HSVhsv(282, 78%, 70%)
CMYKcmyk(23.6%, 77.5%, 0%, 30.2%)
CIE-LABlab(37.78, 60.26, -54.05)
CIE-LCHlch(37.78, 80.94, 318.11°)
OKLaboklab(49.07% 0.142 -0.1529)
OKLCHoklch(49.07% 0.209 312.9)
XYZxyz(18.9466, 9.9668, 43.0366)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828B2 #52B228
analogous
#4328B2 #8828B2 #B22897
triadic
#8828B2 #B28828 #28B288
tetradic
#8828B2 #B24328 #52B228 #2897B2
square
#8828B2 #B24328 #52B228 #2897B2
split-complementary
#8828B2 #97B228 #28B243
monochromatic
#3C124E #621D80 #8828B2 #A843D5 #BF75E0

Accessibility & contrast

On white

7.02
#8828B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8828B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8828B2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8828B2#FFFFFF#000000##FFFFFF
##8828B21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#145BAF
Tritanopia (blue-blind)
#83496C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8828b2;
/* rgb */ color: rgb(136, 40, 178);
/* oklch */ color: oklch(49.1% 0.209 312.9);
Tailwind
colors: {
  custom: {
    50: '#af6dca',
    500: '#8828b2',
    950: '#000000',
  },
}
SCSS
$custom: #8828b2;
$custom-light: #af6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8828b2",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 281.739,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.20863,
    "h": 312.9
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#8828B2
secondary
#8AC76F
accent
#E64174
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8828B2

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

Preview Lab → · Contrast checker → · Palette generator →

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