#8827BB#8827BB

#8827BB is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.218 H 310.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8827BB
RGBrgb(136, 39, 187)
HSLhsl(279, 65%, 44%)
HSVhsv(279, 79%, 73%)
CMYKcmyk(27.3%, 79.1%, 0%, 26.7%)
CIE-LABlab(38.33, 62.46, -58.48)
CIE-LCHlch(38.33, 85.56, 316.88°)
OKLaboklab(49.66% 0.1409 -0.1659)
OKLCHoklch(49.66% 0.218 310.3)
XYZxyz(19.8467, 10.2736, 47.9416)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8827BB #5ABB27
analogous
#3E27BB #8827BB #BB27A4
triadic
#8827BB #BB8827 #27BB88
tetradic
#8827BB #BB3E27 #5ABB27 #27A4BB
square
#8827BB #BB3E27 #5ABB27 #27A4BB
split-complementary
#8827BB #A4BB27 #27BB3E
monochromatic
#3E1256 #631C88 #8827BB #A647D9 #BF79E3

Accessibility & contrast

On white

6.87
#8827BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8827BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8827BB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8827BB#FFFFFF#000000##FFFFFF
##8827BB1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8827bb;
/* rgb */ color: rgb(136, 39, 187);
/* oklch */ color: oklch(49.7% 0.218 310.3);
Tailwind
colors: {
  custom: {
    50: '#b06dd0',
    500: '#8827bb',
    950: '#000000',
  },
}
SCSS
$custom: #8827bb;
$custom-light: #b06dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8827bb",
  "rgb": {
    "r": 136,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 279.324,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.21769,
    "h": 310.3
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#8827BB
secondary
#91CB73
accent
#E83F7A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8827BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8827BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva