#8840CC#8840CC

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

Color values

HEX#8840CC
RGBrgb(136, 64, 204)
HSLhsl(271, 58%, 53%)
HSVhsv(271, 69%, 80%)
CMYKcmyk(33.3%, 68.6%, 0%, 20%)
CIE-LABlab(43.15, 56.08, -60.57)
CIE-LCHlch(43.15, 82.55, 312.79°)
OKLaboklab(53.47% 0.1146 -0.1722)
OKLCHoklch(53.47% 0.207 303.6)
XYZxyz(22.8833, 13.2607, 58.4691)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840CC #84CC40
analogous
#4240CC #8840CC #CC40CA
triadic
#8840CC #CC8840 #40CC88
tetradic
#8840CC #CC4240 #84CC40 #40CACC
square
#8840CC #CC4240 #84CC40 #40CACC
split-complementary
#8840CC #CACC40 #40CC42
monochromatic
#4A1F73 #692CA3 #8840CC #A670D9 #C4A1E6

Accessibility & contrast

On white

5.75
#8840CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8840CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840CC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840CC#FFFFFF#000000##FFFFFF
##8840CC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#7B6081
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8840cc;
/* rgb */ color: rgb(136, 64, 204);
/* oklch */ color: oklch(53.5% 0.207 303.6);
Tailwind
colors: {
  custom: {
    50: '#b07adc',
    500: '#8840cc',
    950: '#000000',
  },
}
SCSS
$custom: #8840cc;
$custom-light: #b07adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8840cc",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 270.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.20686,
    "h": 303.6
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#8840CC
secondary
#B3D295
accent
#E14792
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8840CC

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

Preview Lab → · Contrast checker → · Palette generator →

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