#D79AFE#D79AFE

#D79AFE is a light, vivid violet. Relative luminance 0.447; OKLCH L 78.1% C 0.151 H 311.3°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#D79AFE
RGBrgb(215, 154, 254)
HSLhsl(277, 98%, 80%)
HSVhsv(277, 39%, 100%)
CMYKcmyk(15.4%, 39.4%, 0%, 0.4%)
CIE-LABlab(72.70, 40.45, -41.05)
CIE-LCHlch(72.70, 57.63, 314.58°)
OKLaboklab(78.1% 0.0998 -0.1135)
OKLCHoklch(78.1% 0.151 311.3)
XYZxyz(57.4662, 44.7150, 99.3503)
Luminance0.4471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79AFE #C1FE9A
analogous
#A59AFE #D79AFE #FE9AF3
triadic
#D79AFE #FED79A #9AFED7
tetradic
#D79AFE #FEA59A #C1FE9A #9AF3FE
square
#D79AFE #FEA59A #C1FE9A #9AF3FE
split-complementary
#D79AFE #F3FE9A #9AFEA5
monochromatic
#A721FD #BF5DFD #D79AFE #EFD7FF #F3E1FF

Accessibility & contrast

On white

2.11
#D79AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#D79AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79AFE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79AFE#FFFFFF#000000##000000
##D79AFE1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#95B4FB
Tritanopia (blue-blind)
#D3A8C0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d79afe;
/* rgb */ color: rgb(215, 154, 254);
/* oklch */ color: oklch(78.1% 0.151 311.3);
Tailwind
colors: {
  custom: {
    50: '#e5b8ff',
    500: '#d79afe',
    950: '#000000',
  },
}
SCSS
$custom: #d79afe;
$custom-light: #e5b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d79afe",
  "rgb": {
    "r": 215,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 276.6,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.781,
    "c": 0.15113,
    "h": 311.3
  },
  "luminance": 0.44714
}

Semantic roles & 50–950 ramp

primary
#D79AFE
secondary
#E2F7D4
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D79AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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