#8D79EC#8D79EC

#8D79EC is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.7% C 0.167 H 288.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8D79EC
RGBrgb(141, 121, 236)
HSLhsl(250, 75%, 70%)
HSVhsv(250, 49%, 93%)
CMYKcmyk(40.3%, 48.7%, 0%, 7.5%)
CIE-LABlab(57.46, 34.65, -55.69)
CIE-LCHlch(57.46, 65.59, 301.89°)
OKLaboklab(64.72% 0.0539 -0.1578)
OKLCHoklch(64.72% 0.167 288.9)
XYZxyz(32.9580, 25.3925, 82.5054)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D79EC #D8EC79
analogous
#799EEC #8D79EC #C779EC
triadic
#8D79EC #EC8D79 #79EC8D
tetradic
#8D79EC #EC799E #D8EC79 #79ECC7
square
#8D79EC #EC799E #D8EC79 #79ECC7
split-complementary
#8D79EC #ECC779 #9EEC79
monochromatic
#3C1DCD #5F43E4 #8D79EC #BBAFF4 #E8E4FB

Accessibility & contrast

On white

3.45
#8D79EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8D79EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D79EC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D79EC#FFFFFF#000000##000000
##8D79EC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CF0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#7290A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d79ec;
/* rgb */ color: rgb(141, 121, 236);
/* oklch */ color: oklch(64.7% 0.167 288.9);
Tailwind
colors: {
  custom: {
    50: '#b3a0f3',
    500: '#8d79ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d79ec;
$custom-light: #b3a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d79ec",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 250.435,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.64723,
    "c": 0.16671,
    "h": 288.9
  },
  "luminance": 0.25394
}

Semantic roles & 50–950 ramp

primary
#8D79EC
secondary
#EBF0D0
accent
#D70EB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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