#D79DFB#D79DFB

#D79DFB is a light, vivid violet. Relative luminance 0.455; OKLCH L 78.5% C 0.143 H 311.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#D79DFB
RGBrgb(215, 157, 251)
HSLhsl(277, 92%, 80%)
HSVhsv(277, 37%, 98%)
CMYKcmyk(14.3%, 37.5%, 0%, 1.6%)
CIE-LABlab(73.24, 38.21, -38.59)
CIE-LCHlch(73.24, 54.31, 314.72°)
OKLaboklab(78.46% 0.0949 -0.1065)
OKLCHoklch(78.46% 0.143 311.7)
XYZxyz(57.4909, 45.5270, 97.0071)
Luminance0.4553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79DFB #C1FB9D
analogous
#A89DFB #D79DFB #FB9DF0
triadic
#D79DFB #FBD79D #9DFBD7
tetradic
#D79DFB #FBA89D #C1FB9D #9DF0FB
square
#D79DFB #FBA89D #C1FB9D #9DF0FB
split-complementary
#D79DFB #F0FB9D #9DFBA8
monochromatic
#A727F6 #BF62F9 #D79DFB #EFD8FD #F3E2FE

Accessibility & contrast

On white

2.08
#D79DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#D79DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79DFB
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79DFB#FFFFFF#000000##000000
##D79DFB1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FF
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#D3AAC0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d79dfb;
/* rgb */ color: rgb(215, 157, 251);
/* oklch */ color: oklch(78.5% 0.143 311.7);
Tailwind
colors: {
  custom: {
    50: '#e4bafd',
    500: '#d79dfb',
    950: '#000000',
  },
}
SCSS
$custom: #d79dfb;
$custom-light: #e4bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#d79dfb",
  "rgb": {
    "r": 215,
    "g": 157,
    "b": 251
  },
  "hsl": {
    "h": 277.021,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.78462,
    "c": 0.14267,
    "h": 311.7
  },
  "luminance": 0.45526
}

Semantic roles & 50–950 ramp

primary
#D79DFB
secondary
#E2F6D5
accent
#E60058
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D79DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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