#D79CFB#D79CFB

#D79CFB is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.3% C 0.144 H 311.9°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D79CFB
RGBrgb(215, 156, 251)
HSLhsl(277, 92%, 80%)
HSVhsv(277, 38%, 98%)
CMYKcmyk(14.3%, 37.8%, 0%, 1.6%)
CIE-LABlab(73.02, 38.75, -38.93)
CIE-LCHlch(73.02, 54.93, 314.86°)
OKLaboklab(78.3% 0.0963 -0.1075)
OKLCHoklch(78.3% 0.144 311.9)
XYZxyz(57.3224, 45.1900, 96.9509)
Luminance0.4519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D79CFB #C0FB9C
analogous
#A89CFB #D79CFB #FB9CF0
triadic
#D79CFB #FBD79C #9CFBD7
tetradic
#D79CFB #FBA89C #C0FB9C #9CF0FB
square
#D79CFB #FBA89C #C0FB9C #9CF0FB
split-complementary
#D79CFB #F0FB9C #9CFBA8
monochromatic
#A726F6 #BF61F9 #D79CFB #EFD7FD #F3E2FE

Accessibility & contrast

On white

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

On black

10.04
#D79CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D79CFB
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D79CFB#FFFFFF#000000##000000
##D79CFB1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#98B5F8
Tritanopia (blue-blind)
#D4A9C0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d79cfb;
/* rgb */ color: rgb(215, 156, 251);
/* oklch */ color: oklch(78.3% 0.144 311.9);
Tailwind
colors: {
  custom: {
    50: '#e4bafd',
    500: '#d79cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d79cfb;
$custom-light: #e4bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#d79cfb",
  "rgb": {
    "r": 215,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 277.263,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78295,
    "c": 0.14434,
    "h": 311.9
  },
  "luminance": 0.45189
}

Semantic roles & 50–950 ramp

primary
#D79CFB
secondary
#E2F6D5
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D79CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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