#D799DC#D799DC

#D799DC is a light, moderate purple. Relative luminance 0.424; OKLCH L 76.5% C 0.115 H 324.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D799DC
RGBrgb(215, 153, 220)
HSLhsl(296, 49%, 73%)
HSVhsv(296, 30%, 86%)
CMYKcmyk(2.3%, 30.5%, 0%, 13.7%)
CIE-LABlab(71.14, 34.18, -24.89)
CIE-LCHlch(71.14, 42.29, 323.94°)
OKLaboklab(76.48% 0.0933 -0.0676)
OKLCHoklch(76.48% 0.115 324.1)
XYZxyz(52.3324, 42.3985, 73.1233)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799DC #9EDC99
analogous
#B599DC #D799DC #DC99BF
triadic
#D799DC #DCD799 #99DCD7
tetradic
#D799DC #DCB599 #9EDC99 #99BFDC
square
#D799DC #DCB599 #9EDC99 #99BFDC
split-complementary
#D799DC #BFDC99 #99DCB5
monochromatic
#B140BB #C56BCC #D799DC #E9C7EC #F6E8F7

Accessibility & contrast

On white

2.22
#D799DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#D799DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799DC
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799DC#FFFFFF#000000##000000
##D799DC1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DF
Deuteranopia (green-blind)
#A2B1DA
Tritanopia (blue-blind)
#DA9FB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d799dc;
/* rgb */ color: rgb(215, 153, 220);
/* oklch */ color: oklch(76.5% 0.115 324.1);
Tailwind
colors: {
  custom: {
    50: '#e4b8e7',
    500: '#d799dc',
    950: '#000000',
  },
}
SCSS
$custom: #d799dc;
$custom-light: #e4b8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d799dc",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 295.522,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76479,
    "c": 0.1152,
    "h": 324.1
  },
  "luminance": 0.42397
}

Semantic roles & 50–950 ramp

primary
#D799DC
secondary
#DEEEDD
accent
#BC2934
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D799DC

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

Preview Lab → · Contrast checker → · Palette generator →

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