#8D79EA#8D79EA

#8D79EA is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.6% C 0.164 H 289.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8D79EA
RGBrgb(141, 121, 234)
HSLhsl(251, 73%, 70%)
HSVhsv(251, 48%, 92%)
CMYKcmyk(39.7%, 48.3%, 0%, 8.2%)
CIE-LABlab(57.34, 34.10, -54.75)
CIE-LCHlch(57.34, 64.50, 301.92°)
OKLaboklab(64.6% 0.0537 -0.155)
OKLCHoklch(64.6% 0.164 289.1)
XYZxyz(32.6691, 25.2769, 80.9836)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D79EA #D6EA79
analogous
#799EEA #8D79EA #C579EA
triadic
#8D79EA #EA8D79 #79EA8D
tetradic
#8D79EA #EA799E #D6EA79 #79EAC5
square
#8D79EA #EA799E #D6EA79 #79EAC5
split-complementary
#8D79EA #EAC579 #9EEA79
monochromatic
#3E20C9 #6044E2 #8D79EA #BAAEF2 #E7E3FB

Accessibility & contrast

On white

3.47
#8D79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8D79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D79EA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D79EA#FFFFFF#000000##000000
##8D79EA1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#7390A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d79ea;
/* rgb */ color: rgb(141, 121, 234);
/* oklch */ color: oklch(64.6% 0.164 289.1);
Tailwind
colors: {
  custom: {
    50: '#b3a0f1',
    500: '#8d79ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d79ea;
$custom-light: #b3a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d79ea",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 250.619,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64603,
    "c": 0.16405,
    "h": 289.1
  },
  "luminance": 0.25278
}

Semantic roles & 50–950 ramp

primary
#8D79EA
secondary
#EAF0CF
accent
#D511B2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8D79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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