#D79DF2#D79DF2

#D79DF2 is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.1% C 0.132 H 314.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#D79DF2
RGBrgb(215, 157, 242)
HSLhsl(281, 77%, 78%)
HSVhsv(281, 35%, 95%)
CMYKcmyk(11.2%, 35.1%, 0%, 5.1%)
CIE-LABlab(72.87, 36.35, -34.27)
CIE-LCHlch(72.87, 49.96, 316.69°)
OKLaboklab(78.07% 0.093 -0.0941)
OKLCHoklch(78.07% 0.132 314.6)
XYZxyz(56.1058, 44.9729, 89.7122)
Luminance0.4497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79DF2 #B8F29D
analogous
#AC9DF2 #D79DF2 #F29DE3
triadic
#D79DF2 #F2D79D #9DF2D7
tetradic
#D79DF2 #F2AC9D #B8F29D #9DE3F2
square
#D79DF2 #F2AC9D #B8F29D #9DE3F2
split-complementary
#D79DF2 #E3F29D #9DF2AC
monochromatic
#AB31E4 #C167EB #D79DF2 #EDD3F9 #F4E4FB

Accessibility & contrast

On white

2.10
#D79DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#D79DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79DF2
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79DF2#FFFFFF#000000##000000
##D79DF21.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#9DB4EF
Tritanopia (blue-blind)
#D5A8BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d79df2;
/* rgb */ color: rgb(215, 157, 242);
/* oklch */ color: oklch(78.1% 0.132 314.6);
Tailwind
colors: {
  custom: {
    50: '#e4baf6',
    500: '#d79df2',
    950: '#000000',
  },
}
SCSS
$custom: #d79df2;
$custom-light: #e4baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d79df2",
  "rgb": {
    "r": 215,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 280.941,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78067,
    "c": 0.1323,
    "h": 314.6
  },
  "luminance": 0.44972
}

Semantic roles & 50–950 ramp

primary
#D79DF2
secondary
#E1F3D8
accent
#D90D4E
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #D79DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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