#8828BD#8828BD

#8828BD is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.9% C 0.219 H 309.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8828BD
RGBrgb(136, 40, 189)
HSLhsl(279, 65%, 45%)
HSVhsv(279, 79%, 74%)
CMYKcmyk(28%, 78.8%, 0%, 25.9%)
CIE-LABlab(38.60, 62.54, -59.22)
CIE-LCHlch(38.60, 86.13, 316.56°)
OKLaboklab(49.9% 0.1397 -0.1681)
OKLCHoklch(49.9% 0.219 309.7)
XYZxyz(20.0956, 10.4264, 49.0881)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828BD #5DBD28
analogous
#3E28BD #8828BD #BD28A7
triadic
#8828BD #BD8828 #28BD88
tetradic
#8828BD #BD3E28 #5DBD28 #28A7BD
square
#8828BD #BD3E28 #5DBD28 #28A7BD
split-complementary
#8828BD #A7BD28 #28BD3E
monochromatic
#3F1358 #641D8A #8828BD #A64AD9 #BF7CE3

Accessibility & contrast

On white

6.81
#8828BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8828BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8828BD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8828BD#FFFFFF#000000##FFFFFF
##8828BD1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#804E73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8828bd;
/* rgb */ color: rgb(136, 40, 189);
/* oklch */ color: oklch(49.9% 0.219 309.7);
Tailwind
colors: {
  custom: {
    50: '#b06ed2',
    500: '#8828bd',
    950: '#000000',
  },
}
SCSS
$custom: #8828bd;
$custom-light: #b06ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8828bd",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 278.658,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.21857,
    "h": 309.7
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#8828BD
secondary
#94CB75
accent
#E8407C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8828BD

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

Preview Lab → · Contrast checker → · Palette generator →

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