#8828BC#8828BC

#8828BC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.218 H 310.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8828BC
RGBrgb(136, 40, 188)
HSLhsl(279, 65%, 45%)
HSVhsv(279, 79%, 74%)
CMYKcmyk(27.7%, 78.7%, 0%, 26.3%)
CIE-LABlab(38.52, 62.33, -58.76)
CIE-LCHlch(38.52, 85.66, 316.69°)
OKLaboklab(49.82% 0.1399 -0.1667)
OKLCHoklch(49.82% 0.218 310)
XYZxyz(19.9874, 10.3831, 48.5184)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828BC #5CBC28
analogous
#3E28BC #8828BC #BC28A6
triadic
#8828BC #BC8828 #28BC88
tetradic
#8828BC #BC3E28 #5CBC28 #28A6BC
square
#8828BC #BC3E28 #5CBC28 #28A6BC
split-complementary
#8828BC #A6BC28 #28BC3E
monochromatic
#3F1357 #631D8A #8828BC #A649D8 #BF7BE3

Accessibility & contrast

On white

6.83
#8828BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8828BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8828BC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8828BC#FFFFFF#000000##FFFFFF
##8828BC1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#804D72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8828bc;
/* rgb */ color: rgb(136, 40, 188);
/* oklch */ color: oklch(49.8% 0.218 310.0);
Tailwind
colors: {
  custom: {
    50: '#b06ed1',
    500: '#8828bc',
    950: '#000000',
  },
}
SCSS
$custom: #8828bc;
$custom-light: #b06ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8828bc",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 278.919,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49822,
    "c": 0.21767,
    "h": 310
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#8828BC
secondary
#93CB75
accent
#E8407B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8828BC

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

Preview Lab → · Contrast checker → · Palette generator →

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