#8828CC#8828CC

#8828CC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.1% C 0.232 H 305.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8828CC
RGBrgb(136, 40, 204)
HSLhsl(275, 67%, 48%)
HSVhsv(275, 80%, 80%)
CMYKcmyk(33.3%, 80.4%, 0%, 20%)
CIE-LABlab(39.77, 65.72, -66.08)
CIE-LCHlch(39.77, 93.20, 314.85°)
OKLaboklab(51.08% 0.136 -0.1882)
OKLCHoklch(51.08% 0.232 305.8)
XYZxyz(21.8088, 11.1116, 58.1109)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8828CC #6CCC28
analogous
#3628CC #8828CC #CC28BE
triadic
#8828CC #CC8828 #28CC88
tetradic
#8828CC #CC3628 #6CCC28 #28BECC
square
#8828CC #CC3628 #6CCC28 #28BECC
split-complementary
#8828CC #BECC28 #28CC36
monochromatic
#441466 #661E99 #8828CC #A454DD #BF87E7

Accessibility & contrast

On white

6.52
#8828CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8828CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8828CC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8828CC#FFFFFF#000000##FFFFFF
##8828CC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#7B547B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8828cc;
/* rgb */ color: rgb(136, 40, 204);
/* oklch */ color: oklch(51.1% 0.232 305.8);
Tailwind
colors: {
  custom: {
    50: '#b16edd',
    500: '#8828cc',
    950: '#000000',
  },
}
SCSS
$custom: #8828cc;
$custom-light: #b16edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8828cc",
  "rgb": {
    "r": 136,
    "g": 40,
    "b": 204
  },
  "hsl": {
    "h": 275.122,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.23221,
    "h": 305.8
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#8828CC
secondary
#A1D17F
accent
#EA3E85
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8828CC

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

Preview Lab → · Contrast checker → · Palette generator →

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