#8D78BF#8D78BF

#8D78BF is a light, moderate violet. Relative luminance 0.229; OKLCH L 62.1% C 0.107 H 296.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8D78BF
RGBrgb(141, 120, 191)
HSLhsl(258, 36%, 61%)
HSVhsv(258, 37%, 75%)
CMYKcmyk(26.2%, 37.2%, 0%, 25.1%)
CIE-LABlab(54.92, 23.39, -34.31)
CIE-LCHlch(54.92, 41.53, 304.28°)
OKLaboklab(62.07% 0.0482 -0.0955)
OKLCHoklch(62.07% 0.107 296.8)
XYZxyz(27.1027, 22.8570, 52.2641)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78BF #AABF78
analogous
#7886BF #8D78BF #B078BF
triadic
#8D78BF #BF8D78 #78BF8D
tetradic
#8D78BF #BF7886 #AABF78 #78BFB0
square
#8D78BF #BF7886 #AABF78 #78BFB0
split-complementary
#8D78BF #BFB078 #86BF78
monochromatic
#513D80 #6B50A9 #8D78BF #B0A2D3 #D3CBE6

Accessibility & contrast

On white

3.77
#8D78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8D78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78BF#FFFFFF#000000##000000
##8D78BF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d78bf;
/* rgb */ color: rgb(141, 120, 191);
/* oklch */ color: oklch(62.1% 0.107 296.8);
Tailwind
colors: {
  custom: {
    50: '#b09fd2',
    500: '#8d78bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d78bf;
$custom-light: #b09fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78bf",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 257.746,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.10695,
    "h": 296.8
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#8D78BF
secondary
#CFD7BC
accent
#AF378B
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8D78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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