#8D78F5#8D78F5

#8D78F5 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.1% C 0.180 H 288.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D78F5
RGBrgb(141, 120, 245)
HSLhsl(250, 86%, 72%)
HSVhsv(250, 51%, 96%)
CMYKcmyk(42.4%, 51%, 0%, 3.9%)
CIE-LABlab(57.74, 37.71, -60.23)
CIE-LCHlch(57.74, 71.06, 302.05°)
OKLaboklab(65.1% 0.0558 -0.1711)
OKLCHoklch(65.1% 0.18 288.1)
XYZxyz(34.1778, 25.6870, 89.5258)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78F5 #E0F578
analogous
#78A2F5 #8D78F5 #CC78F5
triadic
#8D78F5 #F58D78 #78F58D
tetradic
#8D78F5 #F578A2 #E0F578 #78F5CC
square
#8D78F5 #F578A2 #E0F578 #78F5CC
split-complementary
#8D78F5 #F5CC78 #A2F578
monochromatic
#3411E2 #5D3FF1 #8D78F5 #BDB1F9 #E7E3FD

Accessibility & contrast

On white

3.42
#8D78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8D78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78F5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78F5#FFFFFF#000000##000000
##8D78F51.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#4087F2
Tritanopia (blue-blind)
#6E92AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d78f5;
/* rgb */ color: rgb(141, 120, 245);
/* oklch */ color: oklch(65.1% 0.180 288.1);
Tailwind
colors: {
  custom: {
    50: '#b49ff9',
    500: '#8d78f5',
    950: '#000000',
  },
}
SCSS
$custom: #8d78f5;
$custom-light: #b49ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78f5",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 250.08,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65101,
    "c": 0.17996,
    "h": 288.1
  },
  "luminance": 0.25688
}

Semantic roles & 50–950 ramp

primary
#8D78F5
secondary
#EFF4D4
accent
#E303BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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