#8E78E8#8E78E8

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

Color values

HEX#8E78E8
RGBrgb(142, 120, 232)
HSLhsl(252, 71%, 69%)
HSVhsv(252, 48%, 91%)
CMYKcmyk(38.8%, 48.3%, 0%, 9%)
CIE-LABlab(57.08, 34.38, -54.05)
CIE-LCHlch(57.08, 64.05, 302.46°)
OKLaboklab(64.39% 0.0559 -0.1529)
OKLCHoklch(64.39% 0.163 290.1)
XYZxyz(32.4333, 25.0090, 79.4467)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E78E8 #D2E878
analogous
#789AE8 #8E78E8 #C678E8
triadic
#8E78E8 #E88E78 #78E88E
tetradic
#8E78E8 #E8789A #D2E878 #78E8C6
square
#8E78E8 #E8789A #D2E878 #78E8C6
split-complementary
#8E78E8 #E8C678 #9AE878
monochromatic
#4121C4 #6244DF #8E78E8 #BAACF1 #E6E1FA

Accessibility & contrast

On white

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

On black

6.00
#8E78E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E78E8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E78E8#FFFFFF#000000##000000
##8E78E81.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e78e8;
/* rgb */ color: rgb(142, 120, 232);
/* oklch */ color: oklch(64.4% 0.163 290.1);
Tailwind
colors: {
  custom: {
    50: '#b39ff0',
    500: '#8e78e8',
    950: '#000000',
  },
}
SCSS
$custom: #8e78e8;
$custom-light: #b39ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e78e8",
  "rgb": {
    "r": 142,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 251.786,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64393,
    "c": 0.16283,
    "h": 290.1
  },
  "luminance": 0.2501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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