#8D78BB#8D78BB

#8D78BB is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.9% C 0.101 H 297.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8D78BB
RGBrgb(141, 120, 187)
HSLhsl(259, 33%, 60%)
HSVhsv(259, 36%, 73%)
CMYKcmyk(24.6%, 35.8%, 0%, 26.7%)
CIE-LABlab(54.74, 22.40, -32.30)
CIE-LCHlch(54.74, 39.31, 304.74°)
OKLaboklab(61.87% 0.0473 -0.0897)
OKLCHoklch(61.87% 0.101 297.8)
XYZxyz(26.6686, 22.6833, 49.9774)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78BB #A6BB78
analogous
#7884BB #8D78BB #AE78BB
triadic
#8D78BB #BB8D78 #78BB8D
tetradic
#8D78BB #BB7884 #A6BB78 #78BBAE
square
#8D78BB #BB7884 #A6BB78 #78BBAE
split-complementary
#8D78BB #BBAE78 #84BB78
monochromatic
#513E7B #6C52A3 #8D78BB #AFA1D0 #D2C9E4

Accessibility & contrast

On white

3.79
#8D78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8D78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78BB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78BB#FFFFFF#000000##000000
##8D78BB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BE
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#848391
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d78bb;
/* rgb */ color: rgb(141, 120, 187);
/* oklch */ color: oklch(61.9% 0.101 297.8);
Tailwind
colors: {
  custom: {
    50: '#af9fcf',
    500: '#8d78bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d78bb;
$custom-light: #af9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78bb",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 258.806,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.10139,
    "h": 297.8
  },
  "luminance": 0.22684
}

Semantic roles & 50–950 ramp

primary
#8D78BB
secondary
#CCD4BB
accent
#AC3A88
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8D78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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