#D799FC#D799FC

#D799FC is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.8% C 0.150 H 312.0°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#D799FC
RGBrgb(215, 153, 252)
HSLhsl(278, 94%, 79%)
HSVhsv(278, 39%, 99%)
CMYKcmyk(14.7%, 39.3%, 0%, 1.2%)
CIE-LABlab(72.40, 40.57, -40.43)
CIE-LCHlch(72.40, 57.28, 315.09°)
OKLaboklab(77.84% 0.1008 -0.1118)
OKLCHoklch(77.84% 0.15 312)
XYZxyz(56.9832, 44.2588, 97.6175)
Luminance0.4426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799FC #BEFC99
analogous
#A699FC #D799FC #FC99EF
triadic
#D799FC #FCD799 #99FCD7
tetradic
#D799FC #FCA699 #BEFC99 #99EFFC
square
#D799FC #FCA699 #BEFC99 #99EFFC
split-complementary
#D799FC #EFFC99 #99FCA6
monochromatic
#A822F9 #C05EFA #D799FC #EED4FE #F3E1FE

Accessibility & contrast

On white

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

On black

9.85
#D799FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799FC
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799FC#FFFFFF#000000##000000
##D799FC1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d799fc;
/* rgb */ color: rgb(215, 153, 252);
/* oklch */ color: oklch(77.8% 0.150 312.0);
Tailwind
colors: {
  custom: {
    50: '#e5b8fd',
    500: '#d799fc',
    950: '#000000',
  },
}
SCSS
$custom: #d799fc;
$custom-light: #e5b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d799fc",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 277.576,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77844,
    "c": 0.15048,
    "h": 312
  },
  "luminance": 0.44258
}

Semantic roles & 50–950 ramp

primary
#D799FC
secondary
#E1F6D5
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D799FC

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

Preview Lab → · Contrast checker → · Palette generator →

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