#D99CEB#D99CEB

#D99CEB is a light, vivid purple. Relative luminance 0.445; OKLCH L 77.8% C 0.127 H 318.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#D99CEB
RGBrgb(217, 156, 235)
HSLhsl(286, 66%, 77%)
HSVhsv(286, 34%, 92%)
CMYKcmyk(7.7%, 33.6%, 0%, 7.8%)
CIE-LABlab(72.58, 36.10, -30.89)
CIE-LCHlch(72.58, 47.51, 319.45°)
OKLaboklab(77.8% 0.095 -0.0845)
OKLCHoklch(77.8% 0.127 318.4)
XYZxyz(55.4971, 44.5282, 84.2525)
Luminance0.4453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CEB #AEEB9C
analogous
#B29CEB #D99CEB #EB9CD6
triadic
#D99CEB #EBD99C #9CEBD9
tetradic
#D99CEB #EBB29C #AEEB9C #9CD6EB
square
#D99CEB #EBB29C #AEEB9C #9CD6EB
split-complementary
#D99CEB #D6EB9C #9CEBB2
monochromatic
#B236D6 #C569E1 #D99CEB #EDCFF5 #F5E6FA

Accessibility & contrast

On white

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

On black

9.91
#D99CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CEB
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CEB#FFFFFF#000000##000000
##D99CEB1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEE
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#D9A5B9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99ceb;
/* rgb */ color: rgb(217, 156, 235);
/* oklch */ color: oklch(77.8% 0.127 318.4);
Tailwind
colors: {
  custom: {
    50: '#e5baf1',
    500: '#d99ceb',
    950: '#000000',
  },
}
SCSS
$custom: #d99ceb;
$custom-light: #e5baf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ceb",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 235
  },
  "hsl": {
    "h": 286.329,
    "s": 66.387,
    "l": 76.667
  },
  "oklch": {
    "l": 0.778,
    "c": 0.12715,
    "h": 318.4
  },
  "luminance": 0.44527
}

Semantic roles & 50–950 ramp

primary
#D99CEB
secondary
#DFF1DA
accent
#CE1741
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D99CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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