#D799CD#D799CD

#D799CD is a light, moderate purple. Relative luminance 0.416; OKLCH L 75.9% C 0.101 H 332.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#D799CD
RGBrgb(215, 153, 205)
HSLhsl(310, 44%, 72%)
HSVhsv(310, 29%, 84%)
CMYKcmyk(0%, 28.8%, 4.7%, 15.7%)
CIE-LABlab(70.62, 31.42, -17.42)
CIE-LCHlch(70.62, 35.93, 331.00°)
OKLaboklab(75.91% 0.089 -0.0467)
OKLCHoklch(75.91% 0.101 332.3)
XYZxyz(50.4343, 41.6392, 63.1263)
Luminance0.4164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799CD #99D7A3
analogous
#C299D7 #D799CD #D799AE
triadic
#D799CD #CDD799 #99CDD7
tetradic
#D799CD #D7C299 #99D7A3 #99AED7
square
#D799CD #D7C299 #99D7A3 #99AED7
split-complementary
#D799CD #AED799 #99D7C2
monochromatic
#B0459F #C66DB7 #D799CD #E8C5E3 #F6E9F4

Accessibility & contrast

On white

2.25
#D799CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#D799CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799CD
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799CD#FFFFFF#000000##000000
##D799CD1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CF
Deuteranopia (green-blind)
#A7B0CB
Tritanopia (blue-blind)
#DD9CAB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d799cd;
/* rgb */ color: rgb(215, 153, 205);
/* oklch */ color: oklch(75.9% 0.101 332.3);
Tailwind
colors: {
  custom: {
    50: '#e4b7dc',
    500: '#d799cd',
    950: '#000000',
  },
}
SCSS
$custom: #d799cd;
$custom-light: #e4b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d799cd",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 309.677,
    "s": 43.662,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75908,
    "c": 0.10051,
    "h": 332.3
  },
  "luminance": 0.41637
}

Semantic roles & 50–950 ramp

primary
#D799CD
secondary
#DEEDE0
accent
#B7452F
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#151115
muted
#848083

Preview Lab

Preview with #D799CD

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

Preview Lab → · Contrast checker → · Palette generator →

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