#8828B3#8828B3

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

Color values

HEX#8828B3
RGBrgb(136, 40, 179)
HSLhsl(281, 63%, 43%)
HSVhsv(281, 78%, 70%)
CMYKcmyk(24%, 77.7%, 0%, 29.8%)
CIE-LABlab(37.86, 60.46, -54.52)
CIE-LCHlch(37.86, 81.42, 317.96°)
OKLaboklab(49.15% 0.1418 -0.1543)
OKLCHoklch(49.15% 0.21 312.6)
XYZxyz(19.0473, 10.0071, 43.5673)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828B3 #53B328
analogous
#4328B3 #8828B3 #B32898
triadic
#8828B3 #B38828 #28B388
tetradic
#8828B3 #B34328 #53B328 #2898B3
square
#8828B3 #B34328 #53B328 #2898B3
split-complementary
#8828B3 #98B328 #28B343
monochromatic
#3C124F #621D81 #8828B3 #A843D5 #BF75E0

Accessibility & contrast

On white

7.00
#8828B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8828B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8828B3
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8828B3#FFFFFF#000000##FFFFFF
##8828B31.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#125BB0
Tritanopia (blue-blind)
#83496D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8828b3;
/* rgb */ color: rgb(136, 40, 179);
/* oklch */ color: oklch(49.1% 0.210 312.6);
Tailwind
colors: {
  custom: {
    50: '#af6dcb',
    500: '#8828b3',
    950: '#000000',
  },
}
SCSS
$custom: #8828b3;
$custom-light: #af6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8828b3",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 281.439,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.20953,
    "h": 312.6
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#8828B3
secondary
#8BC86F
accent
#E64174
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8828B3

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

Preview Lab → · Contrast checker → · Palette generator →

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