#8D79E2#8D79E2

#8D79E2 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.1% C 0.153 H 290.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D79E2
RGBrgb(141, 121, 226)
HSLhsl(251, 64%, 68%)
HSVhsv(251, 46%, 89%)
CMYKcmyk(37.6%, 46.5%, 0%, 11.4%)
CIE-LABlab(56.91, 31.93, -50.98)
CIE-LCHlch(56.91, 60.15, 302.06°)
OKLaboklab(64.13% 0.0528 -0.144)
OKLCHoklch(64.13% 0.153 290.1)
XYZxyz(31.5456, 24.8276, 75.0669)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D79E2 #CEE279
analogous
#7999E2 #8D79E2 #C279E2
triadic
#8D79E2 #E28D79 #79E28D
tetradic
#8D79E2 #E27999 #CEE279 #79E2C2
square
#8D79E2 #E27999 #CEE279 #79E2C2
split-complementary
#8D79E2 #E2C279 #99E279
monochromatic
#4428B9 #6247D7 #8D79E2 #B8ABED #E3DEF8

Accessibility & contrast

On white

3.52
#8D79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8D79E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D79E2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D79E2#FFFFFF#000000##000000
##8D79E21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#5486E0
Tritanopia (blue-blind)
#778EA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d79e2;
/* rgb */ color: rgb(141, 121, 226);
/* oklch */ color: oklch(64.1% 0.153 290.1);
Tailwind
colors: {
  custom: {
    50: '#b2a0eb',
    500: '#8d79e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d79e2;
$custom-light: #b2a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d79e2",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 251.429,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.15335,
    "h": 290.1
  },
  "luminance": 0.24828
}

Semantic roles & 50–950 ramp

primary
#8D79E2
secondary
#E5EBCB
accent
#CC19AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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