#D99BEC#D99BEC

#D99BEC is a light, vivid purple. Relative luminance 0.443; OKLCH L 77.7% C 0.130 H 318.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#D99BEC
RGBrgb(217, 155, 236)
HSLhsl(286, 68%, 77%)
HSVhsv(286, 34%, 93%)
CMYKcmyk(8.1%, 34.3%, 0%, 7.5%)
CIE-LABlab(72.40, 36.83, -31.72)
CIE-LCHlch(72.40, 48.61, 319.27°)
OKLaboklab(77.67% 0.0967 -0.0868)
OKLCHoklch(77.67% 0.13 318.1)
XYZxyz(55.4748, 44.2519, 84.9598)
Luminance0.4425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BEC #AEEC9B
analogous
#B19BEC #D99BEC #EC9BD7
triadic
#D99BEC #ECD99B #9BECD9
tetradic
#D99BEC #ECB19B #AEEC9B #9BD7EC
square
#D99BEC #ECB19B #AEEC9B #9BD7EC
split-complementary
#D99BEC #D7EC9B #9BECB1
monochromatic
#B234D8 #C568E2 #D99BEC #EDCEF6 #F5E5FA

Accessibility & contrast

On white

2.13
#D99BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#D99BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BEC
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BEC#FFFFFF#000000##000000
##D99BEC1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEF
Deuteranopia (green-blind)
#9FB4E9
Tritanopia (blue-blind)
#D9A5B9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99bec;
/* rgb */ color: rgb(217, 155, 236);
/* oklch */ color: oklch(77.7% 0.130 318.1);
Tailwind
colors: {
  custom: {
    50: '#e6b9f2',
    500: '#d99bec',
    950: '#000000',
  },
}
SCSS
$custom: #d99bec;
$custom-light: #e6b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bec",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 236
  },
  "hsl": {
    "h": 285.926,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77674,
    "c": 0.12998,
    "h": 318.1
  },
  "luminance": 0.44251
}

Semantic roles & 50–950 ramp

primary
#D99BEC
secondary
#DFF2D9
accent
#D01641
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D99BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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