#D799FD#D799FD

#D799FD is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.9% C 0.152 H 311.7°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#D799FD
RGBrgb(215, 153, 253)
HSLhsl(277, 96%, 80%)
HSVhsv(277, 40%, 99%)
CMYKcmyk(15%, 39.5%, 0%, 0.8%)
CIE-LABlab(72.44, 40.78, -40.91)
CIE-LCHlch(72.44, 57.76, 314.90°)
OKLaboklab(77.89% 0.101 -0.1131)
OKLCHoklch(77.89% 0.152 311.7)
XYZxyz(57.1421, 44.3224, 98.4543)
Luminance0.4432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799FD #BFFD99
analogous
#A599FD #D799FD #FD99F1
triadic
#D799FD #FDD799 #99FDD7
tetradic
#D799FD #FDA599 #BFFD99 #99F1FD
square
#D799FD #FDA599 #BFFD99 #99F1FD
split-complementary
#D799FD #F1FD99 #99FDA5
monochromatic
#A821FB #BF5DFC #D799FD #EFD5FE #F3E1FE

Accessibility & contrast

On white

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

On black

9.86
#D799FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799FD
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799FD#FFFFFF#000000##000000
##D799FD1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#D3A7BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d799fd;
/* rgb */ color: rgb(215, 153, 253);
/* oklch */ color: oklch(77.9% 0.152 311.7);
Tailwind
colors: {
  custom: {
    50: '#e5b8fe',
    500: '#d799fd',
    950: '#000000',
  },
}
SCSS
$custom: #d799fd;
$custom-light: #e5b8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d799fd",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 277.2,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7789,
    "c": 0.15164,
    "h": 311.7
  },
  "luminance": 0.44321
}

Semantic roles & 50–950 ramp

primary
#D799FD
secondary
#E1F7D4
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D799FD

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

Preview Lab → · Contrast checker → · Palette generator →

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