#D79DF5#D79DF5

#D79DF5 is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.2% C 0.136 H 313.6°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#D79DF5
RGBrgb(215, 157, 245)
HSLhsl(280, 81%, 79%)
HSVhsv(280, 36%, 96%)
CMYKcmyk(12.2%, 35.9%, 0%, 3.9%)
CIE-LABlab(72.99, 36.97, -35.71)
CIE-LCHlch(72.99, 51.40, 315.99°)
OKLaboklab(78.2% 0.0936 -0.0983)
OKLCHoklch(78.2% 0.136 313.6)
XYZxyz(56.5601, 45.1546, 92.1047)
Luminance0.4515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79DF5 #BBF59D
analogous
#AB9DF5 #D79DF5 #F59DE7
triadic
#D79DF5 #F5D79D #9DF5D7
tetradic
#D79DF5 #F5AB9D #BBF59D #9DE7F5
square
#D79DF5 #F5AB9D #BBF59D #9DE7F5
split-complementary
#D79DF5 #E7F59D #9DF5AB
monochromatic
#AA2EEA #C065EF #D79DF5 #EED5FB #F4E3FC

Accessibility & contrast

On white

2.09
#D79DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#D79DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79DF5
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79DF5#FFFFFF#000000##000000
##D79DF51.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB0F8
Deuteranopia (green-blind)
#9CB5F2
Tritanopia (blue-blind)
#D5A9BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d79df5;
/* rgb */ color: rgb(215, 157, 245);
/* oklch */ color: oklch(78.2% 0.136 313.6);
Tailwind
colors: {
  custom: {
    50: '#e4baf8',
    500: '#d79df5',
    950: '#000000',
  },
}
SCSS
$custom: #d79df5;
$custom-light: #e4baf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d79df5",
  "rgb": {
    "r": 215,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 279.545,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78197,
    "c": 0.13573,
    "h": 313.6
  },
  "luminance": 0.45154
}

Semantic roles & 50–950 ramp

primary
#D79DF5
secondary
#E1F4D7
accent
#DE0851
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D79DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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