#8D78EB#8D78EB

#8D78EB is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.5% C 0.167 H 289.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D78EB
RGBrgb(141, 120, 235)
HSLhsl(251, 74%, 70%)
HSVhsv(251, 49%, 92%)
CMYKcmyk(40%, 48.9%, 0%, 7.8%)
CIE-LABlab(57.17, 34.96, -55.59)
CIE-LCHlch(57.17, 65.67, 302.16°)
OKLaboklab(64.49% 0.055 -0.1575)
OKLCHoklch(64.49% 0.167 289.3)
XYZxyz(32.6922, 25.0928, 81.7020)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78EB #D6EB78
analogous
#789CEB #8D78EB #C778EB
triadic
#8D78EB #EB8D78 #78EB8D
tetradic
#8D78EB #EB789C #D6EB78 #78EBC7
square
#8D78EB #EB789C #D6EB78 #78EBC7
split-complementary
#8D78EB #EBC778 #9CEB78
monochromatic
#3E1ECB #6043E3 #8D78EB #BAADF3 #E7E3FB

Accessibility & contrast

On white

3.49
#8D78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8D78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78EB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78EB#FFFFFF#000000##000000
##8D78EB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#738FA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d78eb;
/* rgb */ color: rgb(141, 120, 235);
/* oklch */ color: oklch(64.5% 0.167 289.3);
Tailwind
colors: {
  custom: {
    50: '#b39ff2',
    500: '#8d78eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d78eb;
$custom-light: #b39ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78eb",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 250.957,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64487,
    "c": 0.16681,
    "h": 289.3
  },
  "luminance": 0.25094
}

Semantic roles & 50–950 ramp

primary
#8D78EB
secondary
#EAF0CF
accent
#D60FB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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