#8840C8#8840C8

#8840C8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.203 H 304.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8840C8
RGBrgb(136, 64, 200)
HSLhsl(272, 55%, 52%)
HSVhsv(272, 68%, 78%)
CMYKcmyk(32%, 68%, 0%, 21.6%)
CIE-LABlab(42.87, 55.14, -58.72)
CIE-LCHlch(42.87, 80.55, 313.20°)
OKLaboklab(53.18% 0.1151 -0.1668)
OKLCHoklch(53.18% 0.203 304.6)
XYZxyz(22.4097, 13.0713, 55.9748)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840C8 #80C840
analogous
#4440C8 #8840C8 #C840C4
triadic
#8840C8 #C88840 #40C888
tetradic
#8840C8 #C84440 #80C840 #40C4C8
square
#8840C8 #C84440 #80C840 #40C4C8
split-complementary
#8840C8 #C4C840 #40C844
monochromatic
#49206E #692D9D #8840C8 #A670D6 #C39FE3

Accessibility & contrast

On white

5.81
#8840C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8840C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840C8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840C8#FFFFFF#000000##FFFFFF
##8840C81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0A65C5
Tritanopia (blue-blind)
#7C5F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8840c8;
/* rgb */ color: rgb(136, 64, 200);
/* oklch */ color: oklch(53.2% 0.203 304.6);
Tailwind
colors: {
  custom: {
    50: '#b07ada',
    500: '#8840c8',
    950: '#000000',
  },
}
SCSS
$custom: #8840c8;
$custom-light: #b07ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8840c8",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 271.765,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53177,
    "c": 0.20264,
    "h": 304.6
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#8840C8
secondary
#B0D094
accent
#DF4990
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8840C8

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

Preview Lab → · Contrast checker → · Palette generator →

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