#D79EFE#D79EFE

#D79EFE is a light, vivid violet. Relative luminance 0.461; OKLCH L 78.8% C 0.145 H 310.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#D79EFE
RGBrgb(215, 158, 254)
HSLhsl(276, 98%, 81%)
HSVhsv(276, 38%, 100%)
CMYKcmyk(15.4%, 37.8%, 0%, 0.4%)
CIE-LABlab(73.58, 38.30, -39.68)
CIE-LCHlch(73.58, 55.15, 313.99°)
OKLaboklab(78.76% 0.0942 -0.1096)
OKLCHoklch(78.76% 0.145 310.7)
XYZxyz(58.1374, 46.0574, 99.5740)
Luminance0.4606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79EFE #C5FE9E
analogous
#A79EFE #D79EFE #FE9EF5
triadic
#D79EFE #FED79E #9EFED7
tetradic
#D79EFE #FEA79E #C5FE9E #9EF5FE
square
#D79EFE #FEA79E #C5FE9E #9EF5FE
split-complementary
#D79EFE #F5FE9E #9EFEA7
monochromatic
#A525FD #BE61FD #D79EFE #F0DBFF #F3E1FF

Accessibility & contrast

On white

2.06
#D79EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#D79EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79EFE
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79EFE#FFFFFF#000000##000000
##D79EFE1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#D3ACC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d79efe;
/* rgb */ color: rgb(215, 158, 254);
/* oklch */ color: oklch(78.8% 0.145 310.7);
Tailwind
colors: {
  custom: {
    50: '#e4bbff',
    500: '#d79efe',
    950: '#000000',
  },
}
SCSS
$custom: #d79efe;
$custom-light: #e4bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#d79efe",
  "rgb": {
    "r": 215,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 275.625,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78764,
    "c": 0.14451,
    "h": 310.7
  },
  "luminance": 0.46057
}

Semantic roles & 50–950 ramp

primary
#D79EFE
secondary
#E2F7D4
accent
#E6005D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D79EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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