#8828BA#8828BA

#8828BA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.216 H 310.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8828BA
RGBrgb(136, 40, 186)
HSLhsl(279, 65%, 44%)
HSVhsv(279, 78%, 73%)
CMYKcmyk(26.9%, 78.5%, 0%, 27.1%)
CIE-LABlab(38.37, 61.91, -57.82)
CIE-LCHlch(38.37, 84.71, 316.95°)
OKLaboklab(49.67% 0.1404 -0.164)
OKLCHoklch(49.67% 0.216 310.6)
XYZxyz(19.7733, 10.2975, 47.3908)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828BA #5ABA28
analogous
#3F28BA #8828BA #BA28A3
triadic
#8828BA #BA8828 #28BA88
tetradic
#8828BA #BA3F28 #5ABA28 #28A3BA
square
#8828BA #BA3F28 #5ABA28 #28A3BA
split-complementary
#8828BA #A3BA28 #28BA3F
monochromatic
#3E1255 #631D88 #8828BA #A648D8 #BF7AE2

Accessibility & contrast

On white

6.86
#8828BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8828BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8828BA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8828BA#FFFFFF#000000##FFFFFF
##8828BA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#814C71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8828ba;
/* rgb */ color: rgb(136, 40, 186);
/* oklch */ color: oklch(49.7% 0.216 310.6);
Tailwind
colors: {
  custom: {
    50: '#b06dd0',
    500: '#8828ba',
    950: '#000000',
  },
}
SCSS
$custom: #8828ba;
$custom-light: #b06dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8828ba",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 279.452,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49669,
    "c": 0.21585,
    "h": 310.6
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#8828BA
secondary
#91CA73
accent
#E8407A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8828BA

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

Preview Lab → · Contrast checker → · Palette generator →

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