#8D78BE#8D78BE

#8D78BE is a light, moderate violet. Relative luminance 0.228; OKLCH L 62.0% C 0.106 H 297.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D78BE
RGBrgb(141, 120, 190)
HSLhsl(258, 35%, 61%)
HSVhsv(258, 37%, 75%)
CMYKcmyk(25.8%, 36.8%, 0%, 25.5%)
CIE-LABlab(54.88, 23.14, -33.81)
CIE-LCHlch(54.88, 40.97, 304.39°)
OKLaboklab(62.02% 0.048 -0.094)
OKLCHoklch(62.02% 0.106 297)
XYZxyz(26.9931, 22.8131, 51.6865)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78BE #A9BE78
analogous
#7886BE #8D78BE #B078BE
triadic
#8D78BE #BE8D78 #78BE8D
tetradic
#8D78BE #BE7886 #A9BE78 #78BEB0
square
#8D78BE #BE7886 #A9BE78 #78BEB0
split-complementary
#8D78BE #BEB078 #86BE78
monochromatic
#513D7F #6B51A8 #8D78BE #B0A1D2 #D3CBE6

Accessibility & contrast

On white

3.78
#8D78BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D78BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78BE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78BE#FFFFFF#000000##000000
##8D78BE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C1
Deuteranopia (green-blind)
#6983BC
Tritanopia (blue-blind)
#838492
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d78be;
/* rgb */ color: rgb(141, 120, 190);
/* oklch */ color: oklch(62.0% 0.106 297.0);
Tailwind
colors: {
  custom: {
    50: '#b09fd2',
    500: '#8d78be',
    950: '#000000',
  },
}
SCSS
$custom: #8d78be;
$custom-light: #b09fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78be",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 258,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62015,
    "c": 0.10556,
    "h": 297
  },
  "luminance": 0.22813
}

Semantic roles & 50–950 ramp

primary
#8D78BE
secondary
#CED6BC
accent
#AE388A
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8D78BE

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

Preview Lab → · Contrast checker → · Palette generator →

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