#8D78B4#8D78B4

#8D78B4 is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.5% C 0.092 H 299.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D78B4
RGBrgb(141, 120, 180)
HSLhsl(261, 29%, 59%)
HSVhsv(261, 33%, 71%)
CMYKcmyk(21.7%, 33.3%, 0%, 29.4%)
CIE-LABlab(54.44, 20.70, -28.76)
CIE-LCHlch(54.44, 35.43, 305.74°)
OKLaboklab(61.54% 0.0456 -0.0795)
OKLCHoklch(61.54% 0.092 299.8)
XYZxyz(25.9374, 22.3909, 46.1266)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78B4 #9FB478
analogous
#7881B4 #8D78B4 #AB78B4
triadic
#8D78B4 #B48D78 #78B48D
tetradic
#8D78B4 #B47881 #9FB478 #78B4AB
square
#8D78B4 #B47881 #9FB478 #78B4AB
split-complementary
#8D78B4 #B4AB78 #81B478
monochromatic
#513F72 #6D559A #8D78B4 #AE9FCA #CFC7E0

Accessibility & contrast

On white

3.83
#8D78B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8D78B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78B4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78B4#FFFFFF#000000##000000
##8D78B41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A82B6
Deuteranopia (green-blind)
#6E82B2
Tritanopia (blue-blind)
#86818E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d78b4;
/* rgb */ color: rgb(141, 120, 180);
/* oklch */ color: oklch(61.5% 0.092 299.8);
Tailwind
colors: {
  custom: {
    50: '#af9fca',
    500: '#8d78b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d78b4;
$custom-light: #af9fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78b4",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 180
  },
  "hsl": {
    "h": 261,
    "s": 28.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.09165,
    "h": 299.8
  },
  "luminance": 0.22391
}

Semantic roles & 50–950 ramp

primary
#8D78B4
secondary
#C7D0B8
accent
#C563A3
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D78B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8D78B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva