#8D79E1#8D79E1

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

Color values

HEX#8D79E1
RGBrgb(141, 121, 225)
HSLhsl(252, 63%, 68%)
HSVhsv(252, 46%, 88%)
CMYKcmyk(37.3%, 46.2%, 0%, 11.8%)
CIE-LABlab(56.85, 31.66, -50.51)
CIE-LCHlch(56.85, 59.61, 302.08°)
OKLaboklab(64.08% 0.0527 -0.1426)
OKLCHoklch(64.08% 0.152 290.3)
XYZxyz(31.4088, 24.7729, 74.3463)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D79E1 #CDE179
analogous
#7999E1 #8D79E1 #C179E1
triadic
#8D79E1 #E18D79 #79E18D
tetradic
#8D79E1 #E17999 #CDE179 #79E1C1
square
#8D79E1 #E17999 #CDE179 #79E1C1
split-complementary
#8D79E1 #E1C179 #99E179
monochromatic
#4429B7 #6247D6 #8D79E1 #B8ABEC #E2DDF7

Accessibility & contrast

On white

3.53
#8D79E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8D79E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D79E1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D79E1#FFFFFF#000000##000000
##8D79E11.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538AE5
Deuteranopia (green-blind)
#5586DF
Tritanopia (blue-blind)
#778DA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d79e1;
/* rgb */ color: rgb(141, 121, 225);
/* oklch */ color: oklch(64.1% 0.152 290.3);
Tailwind
colors: {
  custom: {
    50: '#b2a0eb',
    500: '#8d79e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d79e1;
$custom-light: #b2a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d79e1",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 251.538,
    "s": 63.415,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64075,
    "c": 0.152,
    "h": 290.3
  },
  "luminance": 0.24774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D79E1

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

Preview Lab → · Contrast checker → · Palette generator →

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