#8827D4#8827D4

#8827D4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.7% C 0.240 H 304.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8827D4
RGBrgb(136, 39, 212)
HSLhsl(274, 69%, 49%)
HSVhsv(274, 82%, 83%)
CMYKcmyk(35.8%, 81.6%, 0%, 16.9%)
CIE-LABlab(40.31, 67.77, -69.82)
CIE-LCHlch(40.31, 97.30, 314.15°)
OKLaboklab(51.66% 0.1344 -0.1992)
OKLCHoklch(51.66% 0.24 304)
XYZxyz(22.7598, 11.4388, 63.2835)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8827D4 #73D427
analogous
#3227D4 #8827D4 #D427C9
triadic
#8827D4 #D48827 #27D488
tetradic
#8827D4 #D43227 #73D427 #27C9D4
square
#8827D4 #D43227 #73D427 #27C9D4
split-complementary
#8827D4 #C9D427 #27D432
monochromatic
#46146D #671DA0 #8827D4 #A458E0 #C08CEA

Accessibility & contrast

On white

6.39
#8827D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8827D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8827D4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8827D4#FFFFFF#000000##FFFFFF
##8827D41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD9
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#795880
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8827d4;
/* rgb */ color: rgb(136, 39, 212);
/* oklch */ color: oklch(51.7% 0.240 304.0);
Tailwind
colors: {
  custom: {
    50: '#b26ee2',
    500: '#8827d4',
    950: '#000000',
  },
}
SCSS
$custom: #8827d4;
$custom-light: #b26ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8827d4",
  "rgb": {
    "r": 136,
    "g": 39,
    "b": 212
  },
  "hsl": {
    "h": 273.642,
    "s": 68.924,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.24031,
    "h": 304
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#8827D4
secondary
#A7D483
accent
#EC3C89
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #8827D4

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

Preview Lab → · Contrast checker → · Palette generator →

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