#D79EF7#D79EF7

#D79EF7 is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.5% C 0.136 H 312.8°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D79EF7
RGBrgb(215, 158, 247)
HSLhsl(278, 85%, 79%)
HSVhsv(278, 36%, 97%)
CMYKcmyk(13%, 36%, 0%, 3.1%)
CIE-LABlab(73.30, 36.84, -36.33)
CIE-LCHlch(73.30, 51.74, 315.40°)
OKLaboklab(78.45% 0.0927 -0.1)
OKLCHoklch(78.45% 0.136 312.8)
XYZxyz(57.0369, 45.6172, 93.7780)
Luminance0.4562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79EF7 #BEF79E
analogous
#AB9EF7 #D79EF7 #F79EEB
triadic
#D79EF7 #F7D79E #9EF7D7
tetradic
#D79EF7 #F7AB9E #BEF79E #9EEBF7
square
#D79EF7 #F7AB9E #BEF79E #9EEBF7
split-complementary
#D79EF7 #EBF79E #9EF7AB
monochromatic
#A82DEE #C065F2 #D79EF7 #EED7FC #F3E3FD

Accessibility & contrast

On white

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

On black

10.12
#D79EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79EF7
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79EF7#FFFFFF#000000##000000
##D79EF71.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB1FA
Deuteranopia (green-blind)
#9CB5F4
Tritanopia (blue-blind)
#D4AABF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d79ef7;
/* rgb */ color: rgb(215, 158, 247);
/* oklch */ color: oklch(78.5% 0.136 312.8);
Tailwind
colors: {
  custom: {
    50: '#e4bbfa',
    500: '#d79ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d79ef7;
$custom-light: #e4bbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d79ef7",
  "rgb": {
    "r": 215,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 278.427,
    "s": 84.762,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78453,
    "c": 0.13635,
    "h": 312.8
  },
  "luminance": 0.45616
}

Semantic roles & 50–950 ramp

primary
#D79EF7
secondary
#E1F5D6
accent
#E10454
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D79EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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