#884EC2#884EC2

#884EC2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.177 H 304.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#884EC2
RGBrgb(136, 78, 194)
HSLhsl(270, 49%, 53%)
HSVhsv(270, 60%, 76%)
CMYKcmyk(29.9%, 59.8%, 0%, 23.9%)
CIE-LABlab(45.05, 46.67, -51.72)
CIE-LCHlch(45.05, 69.66, 312.06°)
OKLaboklab(54.63% 0.0994 -0.1463)
OKLCHoklch(54.63% 0.177 304.2)
XYZxyz(22.6132, 14.5781, 52.6510)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#884EC2 #88C24E
analogous
#4E4EC2 #884EC2 #C24EC2
triadic
#884EC2 #C2884E #4EC288
tetradic
#884EC2 #C24E4E #88C24E #4EC2C2
square
#884EC2 #C24E4E #88C24E #4EC2C2
split-complementary
#884EC2 #C2C24E #4EC24E
monochromatic
#4B266F #69369D #884EC2 #A77CD2 #C5A9E1

Accessibility & contrast

On white

5.36
#884EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#884EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #884EC2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##884EC2#FFFFFF#000000##FFFFFF
##884EC21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1469C6
Deuteranopia (green-blind)
#336BBF
Tritanopia (blue-blind)
#7D6581
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #884ec2;
/* rgb */ color: rgb(136, 78, 194);
/* oklch */ color: oklch(54.6% 0.177 304.2);
Tailwind
colors: {
  custom: {
    50: '#ae82d5',
    500: '#884ec2',
    950: '#000000',
  },
}
SCSS
$custom: #884ec2;
$custom-light: #ae82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#884ec2",
  "rgb": {
    "r": 136,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 270,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.17683,
    "h": 304.2
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#884EC2
secondary
#B6CF9D
accent
#D85094
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #884EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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