#D799FF#D799FF

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

Color values

HEX#D799FF
RGBrgb(215, 153, 255)
HSLhsl(276, 100%, 80%)
HSVhsv(276, 40%, 100%)
CMYKcmyk(15.7%, 40%, 0%, 0%)
CIE-LABlab(72.53, 41.20, -41.86)
CIE-LCHlch(72.53, 58.73, 314.54°)
OKLaboklab(77.98% 0.1013 -0.1159)
OKLCHoklch(77.98% 0.154 311.2)
XYZxyz(57.4624, 44.4505, 100.1411)
Luminance0.4445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799FF #C1FF99
analogous
#A499FF #D799FF #FF99F4
triadic
#D799FF #FFD799 #99FFD7
tetradic
#D799FF #FFA499 #C1FF99 #99F4FF
square
#D799FF #FFA499 #C1FF99 #99F4FF
split-complementary
#D799FF #F4FF99 #99FFA4
monochromatic
#A71FFF #BF5CFF #D799FF #EFD6FF #F3E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D799FF#FFFFFF#000000##000000
##D799FF1.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)
#85AFFF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#D3A8C0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d799ff;
/* rgb */ color: rgb(215, 153, 255);
/* oklch */ color: oklch(78.0% 0.154 311.2);
Tailwind
colors: {
  custom: {
    50: '#e5b8ff',
    500: '#d799ff',
    950: '#000000',
  },
}
SCSS
$custom: #d799ff;
$custom-light: #e5b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d799ff",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 276.471,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.77982,
    "c": 0.15394,
    "h": 311.2
  },
  "luminance": 0.4445
}

Semantic roles & 50–950 ramp

primary
#D799FF
secondary
#E2F7D4
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D799FF

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

Preview Lab → · Contrast checker → · Palette generator →

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