#8840CE#8840CE

#8840CE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.209 H 303.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8840CE
RGBrgb(136, 64, 206)
HSLhsl(270, 59%, 53%)
HSVhsv(270, 69%, 81%)
CMYKcmyk(34%, 68.9%, 0%, 19.2%)
CIE-LABlab(43.30, 56.55, -61.50)
CIE-LCHlch(43.30, 83.54, 312.60°)
OKLaboklab(53.62% 0.1143 -0.1749)
OKLCHoklch(53.62% 0.209 303.2)
XYZxyz(23.1247, 13.3573, 59.7405)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840CE #86CE40
analogous
#4140CE #8840CE #CE40CD
triadic
#8840CE #CE8840 #40CE88
tetradic
#8840CE #CE4140 #86CE40 #40CDCE
square
#8840CE #CE4140 #86CE40 #40CDCE
split-complementary
#8840CE #CDCE40 #40CE41
monochromatic
#4A1E75 #692BA6 #8840CE #A671DA #C5A1E7

Accessibility & contrast

On white

5.72
#8840CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8840CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840CE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840CE#FFFFFF#000000##FFFFFF
##8840CE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8840ce;
/* rgb */ color: rgb(136, 64, 206);
/* oklch */ color: oklch(53.6% 0.209 303.2);
Tailwind
colors: {
  custom: {
    50: '#b07ade',
    500: '#8840ce',
    950: '#000000',
  },
}
SCSS
$custom: #8840ce;
$custom-light: #b07ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8840ce",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 270.423,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.20897,
    "h": 303.2
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#8840CE
secondary
#B4D496
accent
#E24593
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8840CE

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

Preview Lab → · Contrast checker → · Palette generator →

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