#D79FEA#D79FEA

#D79FEA is a light, moderate purple. Relative luminance 0.452; OKLCH L 78.1% C 0.120 H 317.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D79FEA
RGBrgb(215, 159, 234)
HSLhsl(285, 64%, 77%)
HSVhsv(285, 32%, 92%)
CMYKcmyk(8.1%, 32.1%, 0%, 8.2%)
CIE-LABlab(73.01, 33.66, -29.69)
CIE-LCHlch(73.01, 44.89, 318.58°)
OKLaboklab(78.07% 0.0881 -0.0812)
OKLCHoklch(78.07% 0.12 317.4)
XYZxyz(55.2716, 45.1851, 83.6359)
Luminance0.4518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79FEA #B2EA9F
analogous
#B29FEA #D79FEA #EA9FD8
triadic
#D79FEA #EAD79F #9FEAD7
tetradic
#D79FEA #EAB29F #B2EA9F #9FD8EA
square
#D79FEA #EAB29F #B2EA9F #9FD8EA
split-complementary
#D79FEA #D8EA9F #9FEAB2
monochromatic
#AD3BD4 #C26DDF #D79FEA #ECD1F5 #F5E6FA

Accessibility & contrast

On white

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

On black

10.04
#D79FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79FEA
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79FEA#FFFFFF#000000##000000
##D79FEA1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#A2B5E8
Tritanopia (blue-blind)
#D7A8BA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d79fea;
/* rgb */ color: rgb(215, 159, 234);
/* oklch */ color: oklch(78.1% 0.120 317.4);
Tailwind
colors: {
  custom: {
    50: '#e4bcf1',
    500: '#d79fea',
    950: '#000000',
  },
}
SCSS
$custom: #d79fea;
$custom-light: #e4bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d79fea",
  "rgb": {
    "r": 215,
    "g": 159,
    "b": 234
  },
  "hsl": {
    "h": 284.8,
    "s": 64.103,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78071,
    "c": 0.11979,
    "h": 317.4
  },
  "luminance": 0.45184
}

Semantic roles & 50–950 ramp

primary
#D79FEA
secondary
#E0F1DA
accent
#CC1A47
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D79FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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