#D99CDC#D99CDC

#D99CDC is a light, moderate purple. Relative luminance 0.437; OKLCH L 77.2% C 0.111 H 325.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#D99CDC
RGBrgb(217, 156, 220)
HSLhsl(297, 48%, 74%)
HSVhsv(297, 29%, 86%)
CMYKcmyk(1.4%, 29.1%, 0%, 13.7%)
CIE-LABlab(72.03, 33.21, -23.53)
CIE-LCHlch(72.03, 40.70, 324.68°)
OKLaboklab(77.2% 0.0911 -0.0637)
OKLCHoklch(77.2% 0.111 325)
XYZxyz(53.4207, 43.6976, 73.3167)
Luminance0.4370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CDC #9FDC9C
analogous
#B99CDC #D99CDC #DC9CBF
triadic
#D99CDC #DCD99C #9CDCD9
tetradic
#D99CDC #DCB99C #9FDC9C #9CBFDC
square
#D99CDC #DCB99C #9FDC9C #9CBFDC
split-complementary
#D99CDC #BFDC9C #9CDCB9
monochromatic
#B642BB #C86FCC #D99CDC #EAC9EC #F6E8F7

Accessibility & contrast

On white

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

On black

9.74
#D99CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CDC
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CDC#FFFFFF#000000##000000
##D99CDC1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDF
Deuteranopia (green-blind)
#A5B3DA
Tritanopia (blue-blind)
#DCA2B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d99cdc;
/* rgb */ color: rgb(217, 156, 220);
/* oklch */ color: oklch(77.2% 0.111 325.0);
Tailwind
colors: {
  custom: {
    50: '#e5bae7',
    500: '#d99cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d99cdc;
$custom-light: #e5bae7;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cdc",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 220
  },
  "hsl": {
    "h": 297.188,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77197,
    "c": 0.11118,
    "h": 325
  },
  "luminance": 0.43696
}

Semantic roles & 50–950 ramp

primary
#D99CDC
secondary
#DEEEDD
accent
#BB2A31
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D99CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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