#D79FF2#D79FF2

#D79FF2 is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.4% C 0.129 H 314.3°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#D79FF2
RGBrgb(215, 159, 242)
HSLhsl(280, 76%, 79%)
HSVhsv(280, 34%, 95%)
CMYKcmyk(11.2%, 34.3%, 0%, 5.1%)
CIE-LABlab(73.32, 35.27, -33.57)
CIE-LCHlch(73.32, 48.70, 316.41°)
OKLaboklab(78.41% 0.0901 -0.0922)
OKLCHoklch(78.41% 0.129 314.3)
XYZxyz(56.4469, 45.6552, 89.8260)
Luminance0.4565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79FF2 #BAF29F
analogous
#AD9FF2 #D79FF2 #F29FE3
triadic
#D79FF2 #F2D79F #9FF2D7
tetradic
#D79FF2 #F2AD9F #BAF29F #9FE3F2
square
#D79FF2 #F2AD9F #BAF29F #9FE3F2
split-complementary
#D79FF2 #E3F29F #9FF2AD
monochromatic
#AA33E3 #C169EB #D79FF2 #EDD5F9 #F4E4FB

Accessibility & contrast

On white

2.07
#D79FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#D79FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79FF2
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79FF2#FFFFFF#000000##000000
##D79FF21.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#D5AABE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d79ff2;
/* rgb */ color: rgb(215, 159, 242);
/* oklch */ color: oklch(78.4% 0.129 314.3);
Tailwind
colors: {
  custom: {
    50: '#e4bcf6',
    500: '#d79ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d79ff2;
$custom-light: #e4bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d79ff2",
  "rgb": {
    "r": 215,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 280.482,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78406,
    "c": 0.12888,
    "h": 314.3
  },
  "luminance": 0.45654
}

Semantic roles & 50–950 ramp

primary
#D79FF2
secondary
#E1F3D8
accent
#D80D4F
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #D79FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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