#D99EE2#D99EE2

#D99EE2 is a light, moderate purple. Relative luminance 0.447; OKLCH L 77.8% C 0.114 H 322.0°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#D99EE2
RGBrgb(217, 158, 226)
HSLhsl(292, 54%, 75%)
HSVhsv(292, 30%, 89%)
CMYKcmyk(4%, 30.1%, 0%, 11.4%)
CIE-LABlab(72.69, 33.27, -25.80)
CIE-LCHlch(72.69, 42.10, 322.21°)
OKLaboklab(77.78% 0.0898 -0.0701)
OKLCHoklch(77.78% 0.114 322)
XYZxyz(54.5679, 44.6979, 77.6898)
Luminance0.4470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EE2 #A7E29E
analogous
#B79EE2 #D99EE2 #E29EC9
triadic
#D99EE2 #E2D99E #9EE2D9
tetradic
#D99EE2 #E2B79E #A7E29E #9EC9E2
square
#D99EE2 #E2B79E #A7E29E #9EC9E2
split-complementary
#D99EE2 #C9E29E #9EE2B7
monochromatic
#B440C6 #C76FD4 #D99EE2 #EBCDF0 #F6E7F8

Accessibility & contrast

On white

2.11
#D99EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#D99EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EE2
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EE2#FFFFFF#000000##000000
##D99EE21.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AEE5
Deuteranopia (green-blind)
#A5B5E0
Tritanopia (blue-blind)
#DBA5B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99ee2;
/* rgb */ color: rgb(217, 158, 226);
/* oklch */ color: oklch(77.8% 0.114 322.0);
Tailwind
colors: {
  custom: {
    50: '#e5bbeb',
    500: '#d99ee2',
    950: '#000000',
  },
}
SCSS
$custom: #d99ee2;
$custom-light: #e5bbeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ee2",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 226
  },
  "hsl": {
    "h": 292.059,
    "s": 53.968,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77775,
    "c": 0.1139,
    "h": 322
  },
  "luminance": 0.44696
}

Semantic roles & 50–950 ramp

primary
#D99EE2
secondary
#DEEFDC
accent
#C12439
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D99EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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