#D99CD6#D99CD6

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

Color values

HEX#D99CD6
RGBrgb(217, 156, 214)
HSLhsl(303, 45%, 73%)
HSVhsv(303, 28%, 85%)
CMYKcmyk(0%, 28.1%, 1.4%, 14.9%)
CIE-LABlab(71.82, 32.09, -20.55)
CIE-LCHlch(71.82, 38.11, 327.36°)
OKLaboklab(76.97% 0.0894 -0.0554)
OKLCHoklch(76.97% 0.105 328.2)
XYZxyz(52.6403, 43.3855, 69.2066)
Luminance0.4338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CD6 #9CD99F
analogous
#BD9CD9 #D99CD6 #D99CB7
triadic
#D99CD6 #D6D99C #9CD6D9
tetradic
#D99CD6 #D9BD9C #9CD99F #9CB7D9
square
#D99CD6 #D9BD9C #9CD99F #9CB7D9
split-complementary
#D99CD6 #B7D99C #9CD9BD
monochromatic
#B546B0 #C870C4 #D99CD6 #EAC8E8 #F7E9F6

Accessibility & contrast

On white

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

On black

9.68
#D99CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CD6
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CD6#FFFFFF#000000##000000
##D99CD61.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d99cd6;
/* rgb */ color: rgb(217, 156, 214);
/* oklch */ color: oklch(77.0% 0.105 328.2);
Tailwind
colors: {
  custom: {
    50: '#e5bae2',
    500: '#d99cd6',
    950: '#000000',
  },
}
SCSS
$custom: #d99cd6;
$custom-light: #e5bae2;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cd6",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 214
  },
  "hsl": {
    "h": 302.951,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76967,
    "c": 0.10517,
    "h": 328.2
  },
  "luminance": 0.43384
}

Semantic roles & 50–950 ramp

primary
#D99CD6
secondary
#DEEDDE
accent
#B8352E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D99CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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