#D79DFA#D79DFA

#D79DFA is a light, vivid violet. Relative luminance 0.455; OKLCH L 78.4% C 0.142 H 312.0°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#D79DFA
RGBrgb(215, 157, 250)
HSLhsl(277, 90%, 80%)
HSVhsv(277, 37%, 98%)
CMYKcmyk(14%, 37.2%, 0%, 2%)
CIE-LABlab(73.20, 38.00, -38.11)
CIE-LCHlch(73.20, 53.82, 314.92°)
OKLaboklab(78.42% 0.0947 -0.1051)
OKLCHoklch(78.42% 0.142 312)
XYZxyz(57.3337, 45.4641, 96.1791)
Luminance0.4546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79DFA #C0FA9D
analogous
#A89DFA #D79DFA #FA9DEF
triadic
#D79DFA #FAD79D #9DFAD7
tetradic
#D79DFA #FAA89D #C0FA9D #9DEFFA
square
#D79DFA #FAA89D #C0FA9D #9DEFFA
split-complementary
#D79DFA #EFFA9D #9DFAA8
monochromatic
#A729F4 #BF63F7 #D79DFA #EFD7FD #F3E2FE

Accessibility & contrast

On white

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

On black

10.09
#D79DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79DFA
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79DFA#FFFFFF#000000##000000
##D79DFA1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d79dfa;
/* rgb */ color: rgb(215, 157, 250);
/* oklch */ color: oklch(78.4% 0.142 312.0);
Tailwind
colors: {
  custom: {
    50: '#e4bafc',
    500: '#d79dfa',
    950: '#000000',
  },
}
SCSS
$custom: #d79dfa;
$custom-light: #e4bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#d79dfa",
  "rgb": {
    "r": 215,
    "g": 157,
    "b": 250
  },
  "hsl": {
    "h": 277.419,
    "s": 90.291,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78417,
    "c": 0.14151,
    "h": 312
  },
  "luminance": 0.45463
}

Semantic roles & 50–950 ramp

primary
#D79DFA
secondary
#E2F6D5
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D79DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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