#8D78EA#8D78EA

#8D78EA is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.4% C 0.165 H 289.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D78EA
RGBrgb(141, 120, 234)
HSLhsl(251, 73%, 69%)
HSVhsv(251, 49%, 92%)
CMYKcmyk(39.7%, 48.7%, 0%, 8.2%)
CIE-LABlab(57.11, 34.68, -55.13)
CIE-LCHlch(57.11, 65.13, 302.18°)
OKLaboklab(64.43% 0.0549 -0.1561)
OKLCHoklch(64.43% 0.165 289.4)
XYZxyz(32.5482, 25.0352, 80.9433)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78EA #D5EA78
analogous
#789CEA #8D78EA #C678EA
triadic
#8D78EA #EA8D78 #78EA8D
tetradic
#8D78EA #EA789C #D5EA78 #78EAC6
square
#8D78EA #EA789C #D5EA78 #78EAC6
split-complementary
#8D78EA #EAC678 #9CEA78
monochromatic
#3E1FC8 #6043E2 #8D78EA #BAADF2 #E6E2FA

Accessibility & contrast

On white

3.50
#8D78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8D78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78EA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78EA#FFFFFF#000000##000000
##8D78EA1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d78ea;
/* rgb */ color: rgb(141, 120, 234);
/* oklch */ color: oklch(64.4% 0.165 289.4);
Tailwind
colors: {
  custom: {
    50: '#b39ff1',
    500: '#8d78ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d78ea;
$custom-light: #b39ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78ea",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 251.053,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.16549,
    "h": 289.4
  },
  "luminance": 0.25036
}

Semantic roles & 50–950 ramp

primary
#8D78EA
secondary
#E9EFCE
accent
#D510B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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