#D99CD7#D99CD7

#D99CD7 is a light, moderate purple. Relative luminance 0.434; OKLCH L 77.0% C 0.106 H 327.6°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#D99CD7
RGBrgb(217, 156, 215)
HSLhsl(302, 45%, 73%)
HSVhsv(302, 28%, 85%)
CMYKcmyk(0%, 28.1%, 0.9%, 14.9%)
CIE-LABlab(71.85, 32.28, -21.05)
CIE-LCHlch(71.85, 38.54, 326.89°)
OKLaboklab(77.01% 0.0897 -0.0568)
OKLCHoklch(77.01% 0.106 327.6)
XYZxyz(52.7684, 43.4367, 69.8813)
Luminance0.4344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CD7 #9CD99E
analogous
#BC9CD9 #D99CD7 #D99CB8
triadic
#D99CD7 #D7D99C #9CD7D9
tetradic
#D99CD7 #D9BC9C #9CD99E #9CB8D9
square
#D99CD7 #D9BC9C #9CD99E #9CB8D9
split-complementary
#D99CD7 #B8D99C #9CD9BC
monochromatic
#B546B1 #C870C5 #D99CD7 #EAC8E9 #F7E9F6

Accessibility & contrast

On white

2.17
#D99CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#D99CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CD7
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CD7#FFFFFF#000000##000000
##D99CD71.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99ABD9
Deuteranopia (green-blind)
#A7B3D5
Tritanopia (blue-blind)
#DDA1B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d99cd7;
/* rgb */ color: rgb(217, 156, 215);
/* oklch */ color: oklch(77.0% 0.106 327.6);
Tailwind
colors: {
  custom: {
    50: '#e5bae3',
    500: '#d99cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d99cd7;
$custom-light: #e5bae3;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cd7",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 301.967,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77005,
    "c": 0.10616,
    "h": 327.6
  },
  "luminance": 0.43435
}

Semantic roles & 50–950 ramp

primary
#D99CD7
secondary
#DEEDDE
accent
#B8322E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D99CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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