#D79AF9#D79AF9

#D79AF9 is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.9% C 0.145 H 312.8°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#D79AF9
RGBrgb(215, 154, 249)
HSLhsl(279, 89%, 79%)
HSVhsv(279, 38%, 98%)
CMYKcmyk(13.7%, 38.2%, 0%, 2.4%)
CIE-LABlab(72.49, 39.41, -38.66)
CIE-LCHlch(72.49, 55.20, 315.55°)
OKLaboklab(77.87% 0.0988 -0.1067)
OKLCHoklch(77.87% 0.145 312.8)
XYZxyz(56.6760, 44.3989, 95.1884)
Luminance0.4440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79AF9 #BCF99A
analogous
#A89AF9 #D79AF9 #F99AEC
triadic
#D79AF9 #F9D79A #9AF9D7
tetradic
#D79AF9 #F9A89A #BCF99A #9AECF9
square
#D79AF9 #F9A89A #BCF99A #9AECF9
split-complementary
#D79AF9 #ECF99A #9AF9A8
monochromatic
#A926F2 #C060F6 #D79AF9 #EED4FC #F4E2FD

Accessibility & contrast

On white

2.13
#D79AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#D79AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79AF9
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79AF9#FFFFFF#000000##000000
##D79AF91.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFD
Deuteranopia (green-blind)
#98B3F6
Tritanopia (blue-blind)
#D4A7BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d79af9;
/* rgb */ color: rgb(215, 154, 249);
/* oklch */ color: oklch(77.9% 0.145 312.8);
Tailwind
colors: {
  custom: {
    50: '#e4b8fb',
    500: '#d79af9',
    950: '#000000',
  },
}
SCSS
$custom: #d79af9;
$custom-light: #e4b8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d79af9",
  "rgb": {
    "r": 215,
    "g": 154,
    "b": 249
  },
  "hsl": {
    "h": 278.526,
    "s": 88.785,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77873,
    "c": 0.14538,
    "h": 312.8
  },
  "luminance": 0.44398
}

Semantic roles & 50–950 ramp

primary
#D79AF9
secondary
#E1F5D6
accent
#E50052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D79AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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