#884ECA#884ECA

#884ECA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.186 H 302.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#884ECA
RGBrgb(136, 78, 202)
HSLhsl(268, 54%, 55%)
HSVhsv(268, 61%, 79%)
CMYKcmyk(32.7%, 61.4%, 0%, 20.8%)
CIE-LABlab(45.56, 48.63, -55.53)
CIE-LCHlch(45.56, 73.81, 311.21°)
OKLaboklab(55.16% 0.0991 -0.1574)
OKLCHoklch(55.16% 0.186 302.2)
XYZxyz(23.5359, 14.9472, 57.5108)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#884ECA #90CA4E
analogous
#4E52CA #884ECA #C64ECA
triadic
#884ECA #CA884E #4ECA88
tetradic
#884ECA #CA4E52 #90CA4E #4ECAC6
square
#884ECA #CA4E52 #90CA4E #4ECAC6
split-complementary
#884ECA #CAC64E #52CA4E
monochromatic
#4C2479 #6A32A8 #884ECA #A87DD8 #C7ACE6

Accessibility & contrast

On white

5.26
#884ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#884ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #884ECA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##884ECA#FFFFFF#000000##FFFFFF
##884ECA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#7B6885
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #884eca;
/* rgb */ color: rgb(136, 78, 202);
/* oklch */ color: oklch(55.2% 0.186 302.2);
Tailwind
colors: {
  custom: {
    50: '#af82db',
    500: '#884eca',
    950: '#000000',
  },
}
SCSS
$custom: #884eca;
$custom-light: #af82db;
$custom-dark: #000000;
JSON
{
  "hex": "#884eca",
  "rgb": {
    "r": 136,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 268.065,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55161,
    "c": 0.18605,
    "h": 302.2
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#884ECA
secondary
#BCD4A0
accent
#DD4B99
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #884ECA

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

Preview Lab → · Contrast checker → · Palette generator →

#884ECA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva