#D99CD2#D99CD2

#D99CD2 is a light, moderate purple. Relative luminance 0.432; OKLCH L 76.8% C 0.101 H 330.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#D99CD2
RGBrgb(217, 156, 210)
HSLhsl(307, 45%, 73%)
HSVhsv(307, 28%, 85%)
CMYKcmyk(0%, 28.1%, 3.2%, 14.9%)
CIE-LABlab(71.68, 31.37, -18.56)
CIE-LCHlch(71.68, 36.44, 329.39°)
OKLaboklab(76.82% 0.0882 -0.0499)
OKLCHoklch(76.82% 0.101 330.5)
XYZxyz(52.1357, 43.1836, 66.5492)
Luminance0.4318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CD2 #9CD9A3
analogous
#C19CD9 #D99CD2 #D99CB3
triadic
#D99CD2 #D2D99C #9CD2D9
tetradic
#D99CD2 #D9C19C #9CD9A3 #9CB3D9
square
#D99CD2 #D9C19C #9CD9A3 #9CB3D9
split-complementary
#D99CD2 #B3D99C #9CD9C1
monochromatic
#B546A8 #C870BE #D99CD2 #EAC8E6 #F7E9F5

Accessibility & contrast

On white

2.18
#D99CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#D99CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CD2
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CD2#FFFFFF#000000##000000
##D99CD21.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AABD4
Deuteranopia (green-blind)
#A8B3D0
Tritanopia (blue-blind)
#DEA0AF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d99cd2;
/* rgb */ color: rgb(217, 156, 210);
/* oklch */ color: oklch(76.8% 0.101 330.5);
Tailwind
colors: {
  custom: {
    50: '#e5badf',
    500: '#d99cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d99cd2;
$custom-light: #e5badf;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cd2",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 306.885,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76818,
    "c": 0.10132,
    "h": 330.5
  },
  "luminance": 0.43182
}

Semantic roles & 50–950 ramp

primary
#D99CD2
secondary
#DEEDDF
accent
#B83E2E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D99CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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