#8840CD#8840CD

#8840CD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.208 H 303.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8840CD
RGBrgb(136, 64, 205)
HSLhsl(271, 59%, 53%)
HSVhsv(271, 69%, 80%)
CMYKcmyk(33.7%, 68.8%, 0%, 19.6%)
CIE-LABlab(43.22, 56.31, -61.04)
CIE-LCHlch(43.22, 83.05, 312.70°)
OKLaboklab(53.54% 0.1145 -0.1736)
OKLCHoklch(53.54% 0.208 303.4)
XYZxyz(23.0036, 13.3088, 59.1027)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840CD #85CD40
analogous
#4140CD #8840CD #CD40CC
triadic
#8840CD #CD8840 #40CD88
tetradic
#8840CD #CD4140 #85CD40 #40CCCD
square
#8840CD #CD4140 #85CD40 #40CCCD
split-complementary
#8840CD #CCCD40 #40CD41
monochromatic
#4A1E74 #692BA5 #8840CD #A671DA #C4A1E6

Accessibility & contrast

On white

5.73
#8840CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8840CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840CD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840CD#FFFFFF#000000##FFFFFF
##8840CD1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#7A6182
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8840cd;
/* rgb */ color: rgb(136, 64, 205);
/* oklch */ color: oklch(53.5% 0.208 303.4);
Tailwind
colors: {
  custom: {
    50: '#b07add',
    500: '#8840cd',
    950: '#000000',
  },
}
SCSS
$custom: #8840cd;
$custom-light: #b07add;
$custom-dark: #000000;
JSON
{
  "hex": "#8840cd",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 270.638,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53542,
    "c": 0.20792,
    "h": 303.4
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#8840CD
secondary
#B4D396
accent
#E24692
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8840CD

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

Preview Lab → · Contrast checker → · Palette generator →

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