#8840D0#8840D0

#8840D0 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.211 H 302.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8840D0
RGBrgb(136, 64, 208)
HSLhsl(270, 61%, 53%)
HSVhsv(270, 69%, 82%)
CMYKcmyk(34.6%, 69.2%, 0%, 18.4%)
CIE-LABlab(43.44, 57.02, -62.42)
CIE-LCHlch(43.44, 84.54, 312.42°)
OKLaboklab(53.76% 0.114 -0.1776)
OKLCHoklch(53.76% 0.211 302.7)
XYZxyz(23.3692, 13.4551, 61.0282)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840D0 #88D040
analogous
#4040D0 #8840D0 #D040D0
triadic
#8840D0 #D08840 #40D088
tetradic
#8840D0 #D04040 #88D040 #40D0D0
square
#8840D0 #D04040 #88D040 #40D0D0
split-complementary
#8840D0 #D0D040 #40D040
monochromatic
#4B1E78 #692AA9 #8840D0 #A771DC #C5A2E8

Accessibility & contrast

On white

5.69
#8840D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8840D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840D0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840D0#FFFFFF#000000##FFFFFF
##8840D01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#796283
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8840d0;
/* rgb */ color: rgb(136, 64, 208);
/* oklch */ color: oklch(53.8% 0.211 302.7);
Tailwind
colors: {
  custom: {
    50: '#b07adf',
    500: '#8840d0',
    950: '#000000',
  },
}
SCSS
$custom: #8840d0;
$custom-light: #b07adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8840d0",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 270,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.21108,
    "h": 302.7
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#8840D0
secondary
#B6D597
accent
#E44494
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8840D0

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

Preview Lab → · Contrast checker → · Palette generator →

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