#D99CD9#D99CD9

#D99CD9 is a light, moderate purple. Relative luminance 0.435; OKLCH L 77.1% C 0.108 H 326.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#D99CD9
RGBrgb(217, 156, 217)
HSLhsl(300, 45%, 73%)
HSVhsv(300, 28%, 85%)
CMYKcmyk(0%, 28.1%, 0%, 14.9%)
CIE-LABlab(71.92, 32.65, -22.04)
CIE-LCHlch(71.92, 39.39, 325.97°)
OKLaboklab(77.08% 0.0902 -0.0596)
OKLCHoklch(77.08% 0.108 326.6)
XYZxyz(53.0269, 43.5401, 71.2430)
Luminance0.4354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CD9 #9CD99C
analogous
#BA9CD9 #D99CD9 #D99CBA
triadic
#D99CD9 #D9D99C #9CD9D9
tetradic
#D99CD9 #D9BA9C #9CD99C #9CBAD9
square
#D99CD9 #D9BA9C #9CD99C #9CBAD9
split-complementary
#D99CD9 #BAD99C #9CD9BA
monochromatic
#B546B5 #C870C8 #D99CD9 #EAC8EA #F7E9F7

Accessibility & contrast

On white

2.16
#D99CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#D99CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CD9
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CD9#FFFFFF#000000##000000
##D99CD91.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ABDB
Deuteranopia (green-blind)
#A6B3D7
Tritanopia (blue-blind)
#DDA1B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d99cd9;
/* rgb */ color: rgb(217, 156, 217);
/* oklch */ color: oklch(77.1% 0.108 326.6);
Tailwind
colors: {
  custom: {
    50: '#e5bae4',
    500: '#d99cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d99cd9;
$custom-light: #e5bae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cd9",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 217
  },
  "hsl": {
    "h": 300,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77081,
    "c": 0.10814,
    "h": 326.6
  },
  "luminance": 0.43538
}

Semantic roles & 50–950 ramp

primary
#D99CD9
secondary
#DEEDDE
accent
#B82E2E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D99CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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