#D79DEC#D79DEC

#D79DEC is a light, vivid purple. Relative luminance 0.446; OKLCH L 77.8% C 0.126 H 316.8°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#D79DEC
RGBrgb(215, 157, 236)
HSLhsl(284, 68%, 77%)
HSVhsv(284, 33%, 93%)
CMYKcmyk(8.9%, 33.5%, 0%, 7.5%)
CIE-LABlab(72.64, 35.14, -31.36)
CIE-LCHlch(72.64, 47.10, 318.25°)
OKLaboklab(77.81% 0.0915 -0.0859)
OKLCHoklch(77.81% 0.126 316.8)
XYZxyz(55.2194, 44.6184, 85.0440)
Luminance0.4462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79DEC #B2EC9D
analogous
#B09DEC #D79DEC #EC9DD9
triadic
#D79DEC #ECD79D #9DECD7
tetradic
#D79DEC #ECB09D #B2EC9D #9DD9EC
square
#D79DEC #ECB09D #B2EC9D #9DD9EC
split-complementary
#D79DEC #D9EC9D #9DECB0
monochromatic
#AD36D8 #C26AE2 #D79DEC #ECD0F6 #F5E5FA

Accessibility & contrast

On white

2.12
#D79DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#D79DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79DEC
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79DEC#FFFFFF#000000##000000
##D79DEC1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFEF
Deuteranopia (green-blind)
#9FB4EA
Tritanopia (blue-blind)
#D7A7BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d79dec;
/* rgb */ color: rgb(215, 157, 236);
/* oklch */ color: oklch(77.8% 0.126 316.8);
Tailwind
colors: {
  custom: {
    50: '#e4baf2',
    500: '#d79dec',
    950: '#000000',
  },
}
SCSS
$custom: #d79dec;
$custom-light: #e4baf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d79dec",
  "rgb": {
    "r": 215,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 284.051,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77812,
    "c": 0.1255,
    "h": 316.8
  },
  "luminance": 0.44617
}

Semantic roles & 50–950 ramp

primary
#D79DEC
secondary
#E0F2D9
accent
#CF1647
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D79DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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