#D99CD3#D99CD3

#D99CD3 is a light, moderate purple. Relative luminance 0.432; OKLCH L 76.9% C 0.102 H 329.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#D99CD3
RGBrgb(217, 156, 211)
HSLhsl(306, 45%, 73%)
HSVhsv(306, 28%, 85%)
CMYKcmyk(0%, 28.1%, 2.8%, 14.9%)
CIE-LABlab(71.71, 31.55, -19.06)
CIE-LCHlch(71.71, 36.86, 328.86°)
OKLaboklab(76.85% 0.0885 -0.0513)
OKLCHoklch(76.85% 0.102 329.9)
XYZxyz(52.2607, 43.2336, 67.2074)
Luminance0.4323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CD3 #9CD9A2
analogous
#C09CD9 #D99CD3 #D99CB4
triadic
#D99CD3 #D3D99C #9CD3D9
tetradic
#D99CD3 #D9C09C #9CD9A2 #9CB4D9
square
#D99CD3 #D9C09C #9CD9A2 #9CB4D9
split-complementary
#D99CD3 #B4D99C #9CD9C0
monochromatic
#B546AA #C870BF #D99CD3 #EAC8E7 #F7E9F5

Accessibility & contrast

On white

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

On black

9.65
#D99CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CD3
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CD3#FFFFFF#000000##000000
##D99CD31.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d99cd3;
/* rgb */ color: rgb(217, 156, 211);
/* oklch */ color: oklch(76.9% 0.102 329.9);
Tailwind
colors: {
  custom: {
    50: '#e5bae0',
    500: '#d99cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d99cd3;
$custom-light: #e5bae0;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cd3",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 211
  },
  "hsl": {
    "h": 305.902,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76855,
    "c": 0.10227,
    "h": 329.9
  },
  "luminance": 0.43232
}

Semantic roles & 50–950 ramp

primary
#D99CD3
secondary
#DEEDDF
accent
#B83B2E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D99CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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