#D79AFF#D79AFF

#D79AFF is a light, vivid violet. Relative luminance 0.448; OKLCH L 78.1% C 0.152 H 311.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#D79AFF
RGBrgb(215, 154, 255)
HSLhsl(276, 100%, 80%)
HSVhsv(276, 40%, 100%)
CMYKcmyk(15.7%, 39.6%, 0%, 0%)
CIE-LABlab(72.75, 40.66, -41.52)
CIE-LCHlch(72.75, 58.11, 314.40°)
OKLaboklab(78.15% 0.1 -0.1149)
OKLCHoklch(78.15% 0.152 311)
XYZxyz(57.6267, 44.7792, 100.1958)
Luminance0.4478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79AFF #C2FF9A
analogous
#A59AFF #D79AFF #FF9AF4
triadic
#D79AFF #FFD79A #9AFFD7
tetradic
#D79AFF #FFA59A #C2FF9A #9AF4FF
square
#D79AFF #FFA59A #C2FF9A #9AF4FF
split-complementary
#D79AFF #F4FF9A #9AFFA5
monochromatic
#A720FF #BF5DFF #D79AFF #EFD7FF #F3E0FF

Accessibility & contrast

On white

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

On black

9.96
#D79AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79AFF
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79AFF#FFFFFF#000000##000000
##D79AFF1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#95B4FC
Tritanopia (blue-blind)
#D3A9C1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d79aff;
/* rgb */ color: rgb(215, 154, 255);
/* oklch */ color: oklch(78.1% 0.152 311.0);
Tailwind
colors: {
  custom: {
    50: '#e5b8ff',
    500: '#d79aff',
    950: '#000000',
  },
}
SCSS
$custom: #d79aff;
$custom-light: #e5b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d79aff",
  "rgb": {
    "r": 215,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 276.238,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78146,
    "c": 0.1523,
    "h": 311
  },
  "luminance": 0.44778
}

Semantic roles & 50–950 ramp

primary
#D79AFF
secondary
#E2F7D4
accent
#E6005B
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D79AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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