#D99CED#D99CED

#D99CED is a light, vivid purple. Relative luminance 0.446; OKLCH L 77.9% C 0.129 H 317.6°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#D99CED
RGBrgb(217, 156, 237)
HSLhsl(285, 69%, 77%)
HSVhsv(285, 34%, 93%)
CMYKcmyk(8.4%, 34.2%, 0%, 7.1%)
CIE-LABlab(72.66, 36.49, -31.86)
CIE-LCHlch(72.66, 48.44, 318.88°)
OKLaboklab(77.88% 0.0955 -0.0873)
OKLCHoklch(77.88% 0.129 317.6)
XYZxyz(55.7876, 44.6444, 85.7828)
Luminance0.4464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CED #B0ED9C
analogous
#B19CED #D99CED #ED9CD9
triadic
#D99CED #EDD99C #9CEDD9
tetradic
#D99CED #EDB19C #B0ED9C #9CD9ED
square
#D99CED #EDB19C #B0ED9C #9CD9ED
split-complementary
#D99CED #D9ED9C #9CEDB1
monochromatic
#B134DA #C568E4 #D99CED #EDD0F6 #F5E5FA

Accessibility & contrast

On white

2.12
#D99CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#D99CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CED
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CED#FFFFFF#000000##000000
##D99CED1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEF0
Deuteranopia (green-blind)
#9FB4EA
Tritanopia (blue-blind)
#D9A6BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99ced;
/* rgb */ color: rgb(217, 156, 237);
/* oklch */ color: oklch(77.9% 0.129 317.6);
Tailwind
colors: {
  custom: {
    50: '#e6baf3',
    500: '#d99ced',
    950: '#000000',
  },
}
SCSS
$custom: #d99ced;
$custom-light: #e6baf3;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ced",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 237
  },
  "hsl": {
    "h": 285.185,
    "s": 69.231,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77884,
    "c": 0.12935,
    "h": 317.6
  },
  "luminance": 0.44643
}

Semantic roles & 50–950 ramp

primary
#D99CED
secondary
#DFF2D9
accent
#D11443
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D99CED

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

Preview Lab → · Contrast checker → · Palette generator →

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