#8827BC#8827BC

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

Color values

HEX#8827BC
RGBrgb(136, 39, 188)
HSLhsl(279, 66%, 45%)
HSVhsv(279, 79%, 74%)
CMYKcmyk(27.7%, 79.3%, 0%, 26.3%)
CIE-LABlab(38.40, 62.66, -58.95)
CIE-LCHlch(38.40, 86.03, 316.75°)
OKLaboklab(49.74% 0.1407 -0.1673)
OKLCHoklch(49.74% 0.219 310.1)
XYZxyz(19.9542, 10.3166, 48.5073)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8827BC #5BBC27
analogous
#3D27BC #8827BC #BC27A6
triadic
#8827BC #BC8827 #27BC88
tetradic
#8827BC #BC3D27 #5BBC27 #27A6BC
square
#8827BC #BC3D27 #5BBC27 #27A6BC
split-complementary
#8827BC #A6BC27 #27BC3D
monochromatic
#3F1257 #631C89 #8827BC #A647D9 #BF7AE3

Accessibility & contrast

On white

6.86
#8827BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8827BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8827BC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8827BC#FFFFFF#000000##FFFFFF
##8827BC1.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)
#0056C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#804D72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8827bc;
/* rgb */ color: rgb(136, 39, 188);
/* oklch */ color: oklch(49.7% 0.219 310.1);
Tailwind
colors: {
  custom: {
    50: '#b06dd1',
    500: '#8827bc',
    950: '#000000',
  },
}
SCSS
$custom: #8827bc;
$custom-light: #b06dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8827bc",
  "rgb": {
    "r": 136,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 279.06,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.2186,
    "h": 310.1
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#8827BC
secondary
#92CB73
accent
#E93F7A
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8827BC

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

Preview Lab → · Contrast checker → · Palette generator →

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