#D79AFA#D79AFA

#D79AFA is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.9% C 0.147 H 312.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#D79AFA
RGBrgb(215, 154, 250)
HSLhsl(278, 91%, 79%)
HSVhsv(278, 38%, 98%)
CMYKcmyk(14%, 38.4%, 0%, 2%)
CIE-LABlab(72.54, 39.61, -39.14)
CIE-LCHlch(72.54, 55.69, 315.35°)
OKLaboklab(77.92% 0.099 -0.1081)
OKLCHoklch(77.92% 0.147 312.5)
XYZxyz(56.8323, 44.4614, 96.0120)
Luminance0.4446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79AFA #BDFA9A
analogous
#A79AFA #D79AFA #FA9AED
triadic
#D79AFA #FAD79A #9AFAD7
tetradic
#D79AFA #FAA79A #BDFA9A #9AEDFA
square
#D79AFA #FAA79A #BDFA9A #9AEDFA
split-complementary
#D79AFA #EDFA9A #9AFAA7
monochromatic
#A925F4 #C060F7 #D79AFA #EED4FD #F3E2FE

Accessibility & contrast

On white

2.12
#D79AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#D79AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79AFA
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79AFA#FFFFFF#000000##000000
##D79AFA1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFE
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#D4A7BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d79afa;
/* rgb */ color: rgb(215, 154, 250);
/* oklch */ color: oklch(77.9% 0.147 312.5);
Tailwind
colors: {
  custom: {
    50: '#e4b8fc',
    500: '#d79afa',
    950: '#000000',
  },
}
SCSS
$custom: #d79afa;
$custom-light: #e4b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d79afa",
  "rgb": {
    "r": 215,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 278.125,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77918,
    "c": 0.14653,
    "h": 312.5
  },
  "luminance": 0.4446
}

Semantic roles & 50–950 ramp

primary
#D79AFA
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D79AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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