#8840AD#8840AD

#8840AD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.174 H 312.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8840AD
RGBrgb(136, 64, 173)
HSLhsl(280, 46%, 46%)
HSVhsv(280, 63%, 68%)
CMYKcmyk(21.4%, 63%, 0%, 32.2%)
CIE-LABlab(41.09, 48.98, -45.76)
CIE-LCHlch(41.09, 67.03, 316.94°)
OKLaboklab(51.33% 0.1172 -0.1287)
OKLCHoklch(51.33% 0.174 312.3)
XYZxyz(19.5282, 11.9187, 40.7989)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840AD #65AD40
analogous
#5240AD #8840AD #AD409C
triadic
#8840AD #AD8840 #40AD88
tetradic
#8840AD #AD5240 #65AD40 #409CAD
square
#8840AD #AD5240 #65AD40 #409CAD
split-complementary
#8840AD #9CAD40 #40AD52
monochromatic
#421F54 #652F80 #8840AD #A564C6 #BF91D6

Accessibility & contrast

On white

6.21
#8840AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8840AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840AD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840AD#FFFFFF#000000##FFFFFF
##8840AD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125DB0
Deuteranopia (green-blind)
#3862AA
Tritanopia (blue-blind)
#845571
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8840ad;
/* rgb */ color: rgb(136, 64, 173);
/* oklch */ color: oklch(51.3% 0.174 312.3);
Tailwind
colors: {
  custom: {
    50: '#ae79c6',
    500: '#8840ad',
    950: '#000000',
  },
}
SCSS
$custom: #8840ad;
$custom-light: #ae79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8840ad",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 279.633,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51325,
    "c": 0.17406,
    "h": 312.3
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#8840AD
secondary
#9BC287
accent
#D6527F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8840AD

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

Preview Lab → · Contrast checker → · Palette generator →

#8840AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva