#8840AF#8840AF

#8840AF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.176 H 311.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8840AF
RGBrgb(136, 64, 175)
HSLhsl(279, 46%, 47%)
HSVhsv(279, 63%, 69%)
CMYKcmyk(22.3%, 63.4%, 0%, 31.4%)
CIE-LABlab(41.21, 49.42, -46.75)
CIE-LCHlch(41.21, 68.03, 316.59°)
OKLaboklab(51.46% 0.1171 -0.1316)
OKLCHoklch(51.46% 0.176 311.7)
XYZxyz(19.7232, 11.9967, 41.8257)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840AF #67AF40
analogous
#5140AF #8840AF #AF409F
triadic
#8840AF #AF8840 #40AF88
tetradic
#8840AF #AF5140 #67AF40 #409FAF
square
#8840AF #AF5140 #67AF40 #409FAF
split-complementary
#8840AF #9FAF40 #40AF51
monochromatic
#421F55 #653082 #8840AF #A565C7 #BF92D7

Accessibility & contrast

On white

6.18
#8840AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8840AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840AF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840AF#FFFFFF#000000##FFFFFF
##8840AF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#835572
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8840af;
/* rgb */ color: rgb(136, 64, 175);
/* oklch */ color: oklch(51.5% 0.176 311.7);
Tailwind
colors: {
  custom: {
    50: '#ae79c7',
    500: '#8840af',
    950: '#000000',
  },
}
SCSS
$custom: #8840af;
$custom-light: #ae79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8840af",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 278.919,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51455,
    "c": 0.17618,
    "h": 311.7
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#8840AF
secondary
#9DC388
accent
#D65280
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8840AF

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

Preview Lab → · Contrast checker → · Palette generator →

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