#D79EF8#D79EF8

#D79EF8 is a light, vivid violet. Relative luminance 0.457; OKLCH L 78.5% C 0.138 H 312.5°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#D79EF8
RGBrgb(215, 158, 248)
HSLhsl(278, 87%, 80%)
HSVhsv(278, 36%, 97%)
CMYKcmyk(13.3%, 36.3%, 0%, 2.7%)
CIE-LABlab(73.34, 37.05, -36.81)
CIE-LCHlch(73.34, 52.22, 315.18°)
OKLaboklab(78.5% 0.0929 -0.1014)
OKLCHoklch(78.5% 0.138 312.5)
XYZxyz(57.1916, 45.6791, 94.5929)
Luminance0.4568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79EF8 #BFF89E
analogous
#AA9EF8 #D79EF8 #F89EEC
triadic
#D79EF8 #F8D79E #9EF8D7
tetradic
#D79EF8 #F8AA9E #BFF89E #9EECF8
square
#D79EF8 #F8AA9E #BFF89E #9EECF8
split-complementary
#D79EF8 #ECF89E #9EF8AA
monochromatic
#A82CF0 #BF65F4 #D79EF8 #EFD7FC #F3E2FD

Accessibility & contrast

On white

2.07
#D79EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#D79EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79EF8
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79EF8#FFFFFF#000000##000000
##D79EF81.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB1FB
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#D4AAC0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d79ef8;
/* rgb */ color: rgb(215, 158, 248);
/* oklch */ color: oklch(78.5% 0.138 312.5);
Tailwind
colors: {
  custom: {
    50: '#e4bbfb',
    500: '#d79ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d79ef8;
$custom-light: #e4bbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d79ef8",
  "rgb": {
    "r": 215,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 278,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78497,
    "c": 0.13751,
    "h": 312.5
  },
  "luminance": 0.45678
}

Semantic roles & 50–950 ramp

primary
#D79EF8
secondary
#E1F5D6
accent
#E30255
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D79EF8

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

Preview Lab → · Contrast checker → · Palette generator →

#D79EF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva