#8D78B5#8D78B5

#8D78B5 is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.6% C 0.093 H 299.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8D78B5
RGBrgb(141, 120, 181)
HSLhsl(261, 29%, 59%)
HSVhsv(261, 34%, 71%)
CMYKcmyk(22.1%, 33.7%, 0%, 29%)
CIE-LABlab(54.48, 20.94, -29.27)
CIE-LCHlch(54.48, 35.99, 305.58°)
OKLaboklab(61.58% 0.0458 -0.081)
OKLCHoklch(61.58% 0.093 299.5)
XYZxyz(26.0396, 22.4317, 46.6650)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78B5 #A0B578
analogous
#7882B5 #8D78B5 #AC78B5
triadic
#8D78B5 #B58D78 #78B58D
tetradic
#8D78B5 #B57882 #A0B578 #78B5AC
square
#8D78B5 #B57882 #A0B578 #78B5AC
split-complementary
#8D78B5 #B5AC78 #82B578
monochromatic
#513F73 #6D559B #8D78B5 #AEA0CB #D0C7E0

Accessibility & contrast

On white

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

On black

5.49
#8D78B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78B5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78B5#FFFFFF#000000##000000
##8D78B51.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A82B7
Deuteranopia (green-blind)
#6D82B3
Tritanopia (blue-blind)
#86828E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d78b5;
/* rgb */ color: rgb(141, 120, 181);
/* oklch */ color: oklch(61.6% 0.093 299.5);
Tailwind
colors: {
  custom: {
    50: '#af9fcb',
    500: '#8d78b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d78b5;
$custom-light: #af9fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78b5",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 181
  },
  "hsl": {
    "h": 260.656,
    "s": 29.187,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.09303,
    "h": 299.5
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#8D78B5
secondary
#C8D0B8
accent
#C562A3
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D78B5

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

Preview Lab → · Contrast checker → · Palette generator →

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