#8B78E8#8B78E8

#8B78E8 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.1% C 0.163 H 288.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8B78E8
RGBrgb(139, 120, 232)
HSLhsl(250, 71%, 69%)
HSVhsv(250, 48%, 91%)
CMYKcmyk(40.1%, 48.3%, 0%, 9%)
CIE-LABlab(56.83, 33.65, -54.47)
CIE-LCHlch(56.83, 64.03, 301.71°)
OKLaboklab(64.14% 0.0524 -0.1542)
OKLCHoklch(64.14% 0.163 288.7)
XYZxyz(31.9254, 24.7471, 79.4228)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B78E8 #D5E878
analogous
#789DE8 #8B78E8 #C378E8
triadic
#8B78E8 #E88B78 #78E88B
tetradic
#8B78E8 #E8789D #D5E878 #78E8C3
square
#8B78E8 #E8789D #D5E878 #78E8C3
split-complementary
#8B78E8 #E8C378 #9DE878
monochromatic
#3D21C4 #5E44DF #8B78E8 #B8ACF1 #E5E1FA

Accessibility & contrast

On white

3.53
#8B78E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8B78E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B78E8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B78E8#FFFFFF#000000##000000
##8B78E81.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEC
Deuteranopia (green-blind)
#4C86E5
Tritanopia (blue-blind)
#718FA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b78e8;
/* rgb */ color: rgb(139, 120, 232);
/* oklch */ color: oklch(64.1% 0.163 288.7);
Tailwind
colors: {
  custom: {
    50: '#b19ff0',
    500: '#8b78e8',
    950: '#000000',
  },
}
SCSS
$custom: #8b78e8;
$custom-light: #b19ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b78e8",
  "rgb": {
    "r": 139,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 250.179,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64139,
    "c": 0.16288,
    "h": 288.7
  },
  "luminance": 0.24748
}

Semantic roles & 50–950 ramp

primary
#8B78E8
secondary
#E9EECD
accent
#D313B2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8B78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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