#8828C3#8828C3

#8828C3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.4% C 0.224 H 308.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8828C3
RGBrgb(136, 40, 195)
HSLhsl(277, 66%, 46%)
HSVhsv(277, 79%, 76%)
CMYKcmyk(30.3%, 79.5%, 0%, 23.5%)
CIE-LABlab(39.06, 63.80, -61.99)
CIE-LCHlch(39.06, 88.96, 315.82°)
OKLaboklab(50.36% 0.1383 -0.1762)
OKLCHoklch(50.36% 0.224 308.1)
XYZxyz(20.7604, 10.6923, 52.5893)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828C3 #63C328
analogous
#3A28C3 #8828C3 #C328B0
triadic
#8828C3 #C38828 #28C388
tetradic
#8828C3 #C33A28 #63C328 #28B0C3
square
#8828C3 #C33A28 #63C328 #28B0C3
split-complementary
#8828C3 #B0C328 #28C33A
monochromatic
#41135D #651E90 #8828C3 #A54EDB #BF80E5

Accessibility & contrast

On white

6.69
#8828C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8828C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8828C3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8828C3#FFFFFF#000000##FFFFFF
##8828C31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7E5076
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8828c3;
/* rgb */ color: rgb(136, 40, 195);
/* oklch */ color: oklch(50.4% 0.224 308.1);
Tailwind
colors: {
  custom: {
    50: '#b06ed6',
    500: '#8828c3',
    950: '#000000',
  },
}
SCSS
$custom: #8828c3;
$custom-light: #b06ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#8828c3",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 277.161,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.22401,
    "h": 308.1
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#8828C3
secondary
#99CE79
accent
#E93F80
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8828C3

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

Preview Lab → · Contrast checker → · Palette generator →

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