#8D78E8#8D78E8

#8D78E8 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.3% C 0.163 H 289.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8D78E8
RGBrgb(141, 120, 232)
HSLhsl(251, 71%, 69%)
HSVhsv(251, 48%, 91%)
CMYKcmyk(39.2%, 48.3%, 0%, 9%)
CIE-LABlab(57.00, 34.14, -54.19)
CIE-LCHlch(57.00, 64.04, 302.21°)
OKLaboklab(64.31% 0.0547 -0.1534)
OKLCHoklch(64.31% 0.163 289.6)
XYZxyz(32.2625, 24.9209, 79.4386)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D78E8 #D3E878
analogous
#789BE8 #8D78E8 #C578E8
triadic
#8D78E8 #E88D78 #78E88D
tetradic
#8D78E8 #E8789B #D3E878 #78E8C5
square
#8D78E8 #E8789B #D3E878 #78E8C5
split-complementary
#8D78E8 #E8C578 #9BE878
monochromatic
#4021C4 #6144DF #8D78E8 #B9ACF1 #E5E1FA

Accessibility & contrast

On white

3.51
#8D78E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8D78E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D78E8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D78E8#FFFFFF#000000##000000
##8D78E81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEC
Deuteranopia (green-blind)
#4E86E5
Tritanopia (blue-blind)
#748FA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d78e8;
/* rgb */ color: rgb(141, 120, 232);
/* oklch */ color: oklch(64.3% 0.163 289.6);
Tailwind
colors: {
  custom: {
    50: '#b29ff0',
    500: '#8d78e8',
    950: '#000000',
  },
}
SCSS
$custom: #8d78e8;
$custom-light: #b29ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d78e8",
  "rgb": {
    "r": 141,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 251.25,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64308,
    "c": 0.16284,
    "h": 289.6
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#8D78E8
secondary
#E8EECD
accent
#D313AF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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