#D79EF6#D79EF6

#D79EF6 is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.4% C 0.135 H 313.1°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#D79EF6
RGBrgb(215, 158, 246)
HSLhsl(279, 83%, 79%)
HSVhsv(279, 36%, 96%)
CMYKcmyk(12.6%, 35.8%, 0%, 3.5%)
CIE-LABlab(73.26, 36.63, -35.85)
CIE-LCHlch(73.26, 51.25, 315.62°)
OKLaboklab(78.41% 0.0924 -0.0987)
OKLCHoklch(78.41% 0.135 313.1)
XYZxyz(56.8830, 45.5556, 92.9675)
Luminance0.4556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79EF6 #BDF69E
analogous
#AB9EF6 #D79EF6 #F69EE9
triadic
#D79EF6 #F6D79E #9EF6D7
tetradic
#D79EF6 #F6AB9E #BDF69E #9EE9F6
square
#D79EF6 #F6AB9E #BDF69E #9EE9F6
split-complementary
#D79EF6 #E9F69E #9EF6AB
monochromatic
#A92EEC #C066F1 #D79EF6 #EED6FB #F3E3FC

Accessibility & contrast

On white

2.08
#D79EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#D79EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79EF6
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79EF6#FFFFFF#000000##000000
##D79EF61.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB1F9
Deuteranopia (green-blind)
#9CB5F3
Tritanopia (blue-blind)
#D5AABF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d79ef6;
/* rgb */ color: rgb(215, 158, 246);
/* oklch */ color: oklch(78.4% 0.135 313.1);
Tailwind
colors: {
  custom: {
    50: '#e4bbf9',
    500: '#d79ef6',
    950: '#000000',
  },
}
SCSS
$custom: #d79ef6;
$custom-light: #e4bbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d79ef6",
  "rgb": {
    "r": 215,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 278.864,
    "s": 83.019,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78409,
    "c": 0.13519,
    "h": 313.1
  },
  "luminance": 0.45555
}

Semantic roles & 50–950 ramp

primary
#D79EF6
secondary
#E1F4D7
accent
#DF0653
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D79EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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