#D99CDB#D99CDB

#D99CDB is a light, moderate purple. Relative luminance 0.436; OKLCH L 77.2% C 0.110 H 325.5°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#D99CDB
RGBrgb(217, 156, 219)
HSLhsl(298, 47%, 74%)
HSVhsv(298, 29%, 86%)
CMYKcmyk(0.9%, 28.8%, 0%, 14.1%)
CIE-LABlab(71.99, 33.02, -23.03)
CIE-LCHlch(71.99, 40.26, 325.10°)
OKLaboklab(77.16% 0.0908 -0.0624)
OKLCHoklch(77.16% 0.11 325.5)
XYZxyz(53.2886, 43.6448, 72.6213)
Luminance0.4364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CDB #9EDB9C
analogous
#B99CDB #D99CDB #DB9CBD
triadic
#D99CDB #DBD99C #9CDBD9
tetradic
#D99CDB #DBB99C #9EDB9C #9CBDDB
square
#D99CDB #DBB99C #9EDB9C #9CBDDB
split-complementary
#D99CDB #BDDB9C #9CDBB9
monochromatic
#B543B9 #C86FCB #D99CDB #EAC9EB #F6E9F7

Accessibility & contrast

On white

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

On black

9.73
#D99CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CDB
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CDB#FFFFFF#000000##000000
##D99CDB1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDD
Deuteranopia (green-blind)
#A6B3D9
Tritanopia (blue-blind)
#DCA2B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d99cdb;
/* rgb */ color: rgb(217, 156, 219);
/* oklch */ color: oklch(77.2% 0.110 325.5);
Tailwind
colors: {
  custom: {
    50: '#e5bae6',
    500: '#d99cdb',
    950: '#000000',
  },
}
SCSS
$custom: #d99cdb;
$custom-light: #e5bae6;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cdb",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 219
  },
  "hsl": {
    "h": 298.095,
    "s": 46.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77158,
    "c": 0.11016,
    "h": 325.5
  },
  "luminance": 0.43643
}

Semantic roles & 50–950 ramp

primary
#D99CDB
secondary
#DEEEDD
accent
#BA2C30
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D99CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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