#8D78EE#8D78EE

#8D78EE is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.7% C 0.171 H 288.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8D78EE
RGBrgb(141, 120, 238)
HSLhsl(251, 78%, 70%)
HSVhsv(251, 50%, 93%)
CMYKcmyk(40.8%, 49.6%, 0%, 6.7%)
CIE-LABlab(57.34, 35.78, -56.99)
CIE-LCHlch(57.34, 67.29, 302.12°)
OKLaboklab(64.67% 0.0553 -0.1616)
OKLCHoklch(64.67% 0.171 288.9)
XYZxyz(33.1293, 25.2676, 84.0039)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78EE #D9EE78
analogous
#789EEE #8D78EE #C878EE
triadic
#8D78EE #EE8D78 #78EE8D
tetradic
#8D78EE #EE789E #D9EE78 #78EEC8
square
#8D78EE #EE789E #D9EE78 #78EEC8
split-complementary
#8D78EE #EEC878 #9EEE78
monochromatic
#3B1AD1 #5F42E7 #8D78EE #BBAEF5 #E8E4FC

Accessibility & contrast

On white

3.47
#8D78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8D78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78EE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78EE#FFFFFF#000000##000000
##8D78EE1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF2
Deuteranopia (green-blind)
#4887EB
Tritanopia (blue-blind)
#7290A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d78ee;
/* rgb */ color: rgb(141, 120, 238);
/* oklch */ color: oklch(64.7% 0.171 288.9);
Tailwind
colors: {
  custom: {
    50: '#b39ff4',
    500: '#8d78ee',
    950: '#000000',
  },
}
SCSS
$custom: #8d78ee;
$custom-light: #b39ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78ee",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 250.678,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.17079,
    "h": 288.9
  },
  "luminance": 0.25269
}

Semantic roles & 50–950 ramp

primary
#8D78EE
secondary
#EBF1D1
accent
#DA0CB5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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