#D799DF#D799DF

#D799DF is a light, moderate purple. Relative luminance 0.426; OKLCH L 76.6% C 0.118 H 322.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#D799DF
RGBrgb(215, 153, 223)
HSLhsl(293, 52%, 74%)
HSVhsv(293, 31%, 87%)
CMYKcmyk(3.6%, 31.4%, 0%, 12.5%)
CIE-LABlab(71.25, 34.76, -26.37)
CIE-LCHlch(71.25, 43.63, 322.81°)
OKLaboklab(76.6% 0.0941 -0.0717)
OKLCHoklch(76.6% 0.118 322.7)
XYZxyz(52.7333, 42.5588, 75.2346)
Luminance0.4256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799DF #A1DF99
analogous
#B499DF #D799DF #DF99C4
triadic
#D799DF #DFD799 #99DFD7
tetradic
#D799DF #DFB499 #A1DF99 #99C4DF
square
#D799DF #DFB499 #A1DF99 #99C4DF
split-complementary
#D799DF #C4DF99 #99DFB4
monochromatic
#B23DC1 #C56AD0 #D799DF #E9C8EE #F6E8F8

Accessibility & contrast

On white

2.21
#D799DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#D799DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799DF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799DF#FFFFFF#000000##000000
##D799DF1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE2
Deuteranopia (green-blind)
#A1B1DD
Tritanopia (blue-blind)
#D9A0B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d799df;
/* rgb */ color: rgb(215, 153, 223);
/* oklch */ color: oklch(76.6% 0.118 322.7);
Tailwind
colors: {
  custom: {
    50: '#e4b8e9',
    500: '#d799df',
    950: '#000000',
  },
}
SCSS
$custom: #d799df;
$custom-light: #e4b8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d799df",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 293.143,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76599,
    "c": 0.11833,
    "h": 322.7
  },
  "luminance": 0.42557
}

Semantic roles & 50–950 ramp

primary
#D799DF
secondary
#DEEFDC
accent
#C02637
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D799DF

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

Preview Lab → · Contrast checker → · Palette generator →

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