#D799CF#D799CF

#D799CF is a light, moderate purple. Relative luminance 0.417; OKLCH L 76.0% C 0.102 H 331.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#D799CF
RGBrgb(215, 153, 207)
HSLhsl(308, 44%, 72%)
HSVhsv(308, 29%, 84%)
CMYKcmyk(0%, 28.8%, 3.7%, 15.7%)
CIE-LABlab(70.69, 31.78, -18.42)
CIE-LCHlch(70.69, 36.74, 329.90°)
OKLaboklab(75.98% 0.0896 -0.0495)
OKLCHoklch(75.98% 0.102 331.1)
XYZxyz(50.6772, 41.7364, 64.4059)
Luminance0.4173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799CF #99D7A1
analogous
#C099D7 #D799CF #D799B0
triadic
#D799CF #CFD799 #99CFD7
tetradic
#D799CF #D7C099 #99D7A1 #99B0D7
square
#D799CF #D7C099 #99D7A1 #99B0D7
split-complementary
#D799CF #B0D799 #99D7C0
monochromatic
#B045A3 #C66DBA #D799CF #E8C5E4 #F6E9F5

Accessibility & contrast

On white

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

On black

9.35
#D799CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799CF
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799CF#FFFFFF#000000##000000
##D799CF1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A8D1
Deuteranopia (green-blind)
#A6B0CD
Tritanopia (blue-blind)
#DC9DAC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d799cf;
/* rgb */ color: rgb(215, 153, 207);
/* oklch */ color: oklch(76.0% 0.102 331.1);
Tailwind
colors: {
  custom: {
    50: '#e4b7dd',
    500: '#d799cf',
    950: '#000000',
  },
}
SCSS
$custom: #d799cf;
$custom-light: #e4b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d799cf",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 207
  },
  "hsl": {
    "h": 307.742,
    "s": 43.662,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75982,
    "c": 0.10236,
    "h": 331.1
  },
  "luminance": 0.41735
}

Semantic roles & 50–950 ramp

primary
#D799CF
secondary
#DEEDE0
accent
#B7402F
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#151115
muted
#848083

Preview Lab

Preview with #D799CF

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

Preview Lab → · Contrast checker → · Palette generator →

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