#8E79EE#8E79EE

#8E79EE is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.9% C 0.169 H 289.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8E79EE
RGBrgb(142, 121, 238)
HSLhsl(251, 77%, 70%)
HSVhsv(251, 49%, 93%)
CMYKcmyk(40.3%, 49.2%, 0%, 6.7%)
CIE-LABlab(57.65, 35.44, -56.48)
CIE-LCHlch(57.65, 66.68, 302.11°)
OKLaboklab(64.93% 0.0553 -0.16)
OKLCHoklch(64.93% 0.169 289.1)
XYZxyz(33.4210, 25.5975, 84.0522)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E79EE #D9EE79
analogous
#799FEE #8E79EE #C879EE
triadic
#8E79EE #EE8E79 #79EE8E
tetradic
#8E79EE #EE799F #D9EE79 #79EEC8
square
#8E79EE #EE799F #D9EE79 #79EEC8
split-complementary
#8E79EE #EEC879 #9FEE79
monochromatic
#3C1BD2 #6043E7 #8E79EE #BCAFF5 #E8E4FC

Accessibility & contrast

On white

3.43
#8E79EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8E79EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E79EE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E79EE#FFFFFF#000000##000000
##8E79EE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF2
Deuteranopia (green-blind)
#4A88EB
Tritanopia (blue-blind)
#7391A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e79ee;
/* rgb */ color: rgb(142, 121, 238);
/* oklch */ color: oklch(64.9% 0.169 289.1);
Tailwind
colors: {
  custom: {
    50: '#b4a0f4',
    500: '#8e79ee',
    950: '#000000',
  },
}
SCSS
$custom: #8e79ee;
$custom-light: #b4a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e79ee",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 250.769,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64928,
    "c": 0.16932,
    "h": 289.1
  },
  "luminance": 0.25599
}

Semantic roles & 50–950 ramp

primary
#8E79EE
secondary
#ECF1D1
accent
#DA0CB5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8E79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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