#8827CC#8827CC

#8827CC is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 51.0% C 0.233 H 305.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8827CC
RGBrgb(136, 39, 204)
HSLhsl(275, 68%, 48%)
HSVhsv(275, 81%, 80%)
CMYKcmyk(33.3%, 80.9%, 0%, 20%)
CIE-LABlab(39.66, 66.05, -66.26)
CIE-LCHlch(39.66, 93.56, 314.91°)
OKLaboklab(51% 0.1367 -0.1888)
OKLCHoklch(51% 0.233 305.9)
XYZxyz(21.7755, 11.0451, 58.0998)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8827CC #6BCC27
analogous
#3627CC #8827CC #CC27BD
triadic
#8827CC #CC8827 #27CC88
tetradic
#8827CC #CC3627 #6BCC27 #27BDCC
square
#8827CC #CC3627 #6BCC27 #27BDCC
split-complementary
#8827CC #BDCC27 #27CC36
monochromatic
#431365 #661D99 #8827CC #A452DE #BF86E8

Accessibility & contrast

On white

6.54
#8827CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8827CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8827CC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8827CC#FFFFFF#000000##FFFFFF
##8827CC1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8827cc;
/* rgb */ color: rgb(136, 39, 204);
/* oklch */ color: oklch(51.0% 0.233 305.9);
Tailwind
colors: {
  custom: {
    50: '#b16edd',
    500: '#8827cc',
    950: '#000000',
  },
}
SCSS
$custom: #8827cc;
$custom-light: #b16edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8827cc",
  "rgb": {
    "r": 136,
    "g": 39,
    "b": 204
  },
  "hsl": {
    "h": 275.273,
    "s": 67.901,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51003,
    "c": 0.23306,
    "h": 305.9
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#8827CC
secondary
#A0D17E
accent
#EB3D85
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8827CC

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

Preview Lab → · Contrast checker → · Palette generator →

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