#D79CFA#D79CFA

#D79CFA is a light, vivid violet. Relative luminance 0.451; OKLCH L 78.3% C 0.143 H 312.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#D79CFA
RGBrgb(215, 156, 250)
HSLhsl(278, 90%, 80%)
HSVhsv(278, 38%, 98%)
CMYKcmyk(14%, 37.6%, 0%, 2%)
CIE-LABlab(72.98, 38.54, -38.45)
CIE-LCHlch(72.98, 54.44, 315.06°)
OKLaboklab(78.25% 0.0961 -0.1061)
OKLCHoklch(78.25% 0.143 312.2)
XYZxyz(57.1652, 45.1271, 96.1229)
Luminance0.4513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79CFA #BFFA9C
analogous
#A89CFA #D79CFA #FA9CEE
triadic
#D79CFA #FAD79C #9CFAD7
tetradic
#D79CFA #FAA89C #BFFA9C #9CEEFA
square
#D79CFA #FAA89C #BFFA9C #9CEEFA
split-complementary
#D79CFA #EEFA9C #9CFAA8
monochromatic
#A827F4 #BF62F7 #D79CFA #EFD6FD #F3E2FE

Accessibility & contrast

On white

2.09
#D79CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#D79CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79CFA
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79CFA#FFFFFF#000000##000000
##D79CFA1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#D4A9BF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d79cfa;
/* rgb */ color: rgb(215, 156, 250);
/* oklch */ color: oklch(78.3% 0.143 312.2);
Tailwind
colors: {
  custom: {
    50: '#e4bafc',
    500: '#d79cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d79cfa;
$custom-light: #e4bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#d79cfa",
  "rgb": {
    "r": 215,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 277.66,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7825,
    "c": 0.14319,
    "h": 312.2
  },
  "luminance": 0.45126
}

Semantic roles & 50–950 ramp

primary
#D79CFA
secondary
#E1F6D5
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D79CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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