#8D79E4#8D79E4

#8D79E4 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.2% C 0.156 H 289.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8D79E4
RGBrgb(141, 121, 228)
HSLhsl(251, 66%, 68%)
HSVhsv(251, 47%, 89%)
CMYKcmyk(38.2%, 46.9%, 0%, 10.6%)
CIE-LABlab(57.02, 32.47, -51.93)
CIE-LCHlch(57.02, 61.24, 302.02°)
OKLaboklab(64.25% 0.0531 -0.1467)
OKLCHoklch(64.25% 0.156 289.9)
XYZxyz(31.8217, 24.9380, 76.5206)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D79E4 #D0E479
analogous
#799AE4 #8D79E4 #C279E4
triadic
#8D79E4 #E48D79 #79E48D
tetradic
#8D79E4 #E4799A #D0E479 #79E4C2
square
#8D79E4 #E4799A #D0E479 #79E4C2
split-complementary
#8D79E4 #E4C279 #9AE479
monochromatic
#4226BD #6246DA #8D79E4 #B8ACEE #E4DFF9

Accessibility & contrast

On white

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

On black

5.99
#8D79E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D79E4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D79E4#FFFFFF#000000##000000
##8D79E41.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#5386E2
Tritanopia (blue-blind)
#768EA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d79e4;
/* rgb */ color: rgb(141, 121, 228);
/* oklch */ color: oklch(64.2% 0.156 289.9);
Tailwind
colors: {
  custom: {
    50: '#b2a0ed',
    500: '#8d79e4',
    950: '#000000',
  },
}
SCSS
$custom: #8d79e4;
$custom-light: #b2a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d79e4",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 251.215,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64249,
    "c": 0.15604,
    "h": 289.9
  },
  "luminance": 0.24939
}

Semantic roles & 50–950 ramp

primary
#8D79E4
secondary
#E6ECCC
accent
#CE17AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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