#8878C2#8878C2

#8878C2 is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.8% C 0.111 H 292.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8878C2
RGBrgb(136, 120, 194)
HSLhsl(253, 38%, 62%)
HSVhsv(253, 38%, 76%)
CMYKcmyk(29.9%, 38.1%, 0%, 23.9%)
CIE-LABlab(54.62, 22.68, -36.54)
CIE-LCHlch(54.62, 43.01, 301.84°)
OKLaboklab(61.77% 0.0429 -0.102)
OKLCHoklch(61.77% 0.111 292.8)
XYZxyz(26.6050, 22.5618, 53.9816)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8878C2 #B2C278
analogous
#788DC2 #8878C2 #AD78C2
triadic
#8878C2 #C28878 #78C288
tetradic
#8878C2 #C2788D #B2C278 #78C2AD
square
#8878C2 #C2788D #B2C278 #78C2AD
split-complementary
#8878C2 #C2AD78 #8DC278
monochromatic
#4B3C84 #634FAE #8878C2 #ADA2D5 #D2CCE8

Accessibility & contrast

On white

3.81
#8878C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8878C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8878C2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8878C2#FFFFFF#000000##000000
##8878C21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C5
Deuteranopia (green-blind)
#6581C0
Tritanopia (blue-blind)
#7B8594
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8878c2;
/* rgb */ color: rgb(136, 120, 194);
/* oklch */ color: oklch(61.8% 0.111 292.8);
Tailwind
colors: {
  custom: {
    50: '#ac9fd5',
    500: '#8878c2',
    950: '#000000',
  },
}
SCSS
$custom: #8878c2;
$custom-light: #ac9fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8878c2",
  "rgb": {
    "r": 136,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 252.973,
    "s": 37.755,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.11067,
    "h": 292.8
  },
  "luminance": 0.22562
}

Semantic roles & 50–950 ramp

primary
#8878C2
secondary
#D3D9BD
accent
#B13596
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8878C2

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

Preview Lab → · Contrast checker → · Palette generator →

#8878C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva