#D79EFA#D79EFA

#D79EFA is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.6% C 0.140 H 311.9°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#D79EFA
RGBrgb(215, 158, 250)
HSLhsl(277, 90%, 80%)
HSVhsv(277, 37%, 98%)
CMYKcmyk(14%, 36.8%, 0%, 2%)
CIE-LABlab(73.42, 37.46, -37.77)
CIE-LCHlch(73.42, 53.20, 314.77°)
OKLaboklab(78.59% 0.0933 -0.1041)
OKLCHoklch(78.59% 0.14 311.9)
XYZxyz(57.5036, 45.8038, 96.2357)
Luminance0.4580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79EFA #C1FA9E
analogous
#A99EFA #D79EFA #FA9EEF
triadic
#D79EFA #FAD79E #9EFAD7
tetradic
#D79EFA #FAA99E #C1FA9E #9EEFFA
square
#D79EFA #FAA99E #C1FA9E #9EEFFA
split-complementary
#D79EFA #EFFA9E #9EFAA9
monochromatic
#A72AF4 #BF64F7 #D79EFA #EFD8FD #F3E2FD

Accessibility & contrast

On white

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

On black

10.16
#D79EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79EFA
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79EFA#FFFFFF#000000##000000
##D79EFA1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#D4ABC0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d79efa;
/* rgb */ color: rgb(215, 158, 250);
/* oklch */ color: oklch(78.6% 0.140 311.9);
Tailwind
colors: {
  custom: {
    50: '#e4bbfc',
    500: '#d79efa',
    950: '#000000',
  },
}
SCSS
$custom: #d79efa;
$custom-light: #e4bbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d79efa",
  "rgb": {
    "r": 215,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 277.174,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.78585,
    "c": 0.13984,
    "h": 311.9
  },
  "luminance": 0.45803
}

Semantic roles & 50–950 ramp

primary
#D79EFA
secondary
#E2F6D5
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D79EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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