#D79FEF#D79FEF

#D79FEF is a light, vivid purple. Relative luminance 0.455; OKLCH L 78.3% C 0.125 H 315.4°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D79FEF
RGBrgb(215, 159, 239)
HSLhsl(282, 71%, 78%)
HSVhsv(282, 33%, 94%)
CMYKcmyk(10%, 33.5%, 0%, 6.3%)
CIE-LABlab(73.20, 34.66, -32.12)
CIE-LCHlch(73.20, 47.26, 317.18°)
OKLaboklab(78.28% 0.0894 -0.088)
OKLCHoklch(78.28% 0.125 315.4)
XYZxyz(56.0001, 45.4765, 87.4724)
Luminance0.4547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79FEF #B7EF9F
analogous
#AF9FEF #D79FEF #EF9FDF
triadic
#D79FEF #EFD79F #9FEFD7
tetradic
#D79FEF #EFAF9F #B7EF9F #9FDFEF
square
#D79FEF #EFAF9F #B7EF9F #9FDFEF
split-complementary
#D79FEF #DFEF9F #9FEFAF
monochromatic
#AB36DE #C16BE6 #D79FEF #EDD3F8 #F4E5FB

Accessibility & contrast

On white

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

On black

10.10
#D79FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79FEF
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79FEF#FFFFFF#000000##000000
##D79FEF1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F2
Deuteranopia (green-blind)
#A0B5ED
Tritanopia (blue-blind)
#D6A9BC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d79fef;
/* rgb */ color: rgb(215, 159, 239);
/* oklch */ color: oklch(78.3% 0.125 315.4);
Tailwind
colors: {
  custom: {
    50: '#e4bcf4',
    500: '#d79fef',
    950: '#000000',
  },
}
SCSS
$custom: #d79fef;
$custom-light: #e4bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d79fef",
  "rgb": {
    "r": 215,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 282,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78279,
    "c": 0.12544,
    "h": 315.4
  },
  "luminance": 0.45475
}

Semantic roles & 50–950 ramp

primary
#D79FEF
secondary
#E0F2D9
accent
#D3124C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D79FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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