#D99BF4#D99BF4

#D99BF4 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.0% C 0.139 H 315.2°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#D99BF4
RGBrgb(217, 155, 244)
HSLhsl(282, 80%, 78%)
HSVhsv(282, 36%, 96%)
CMYKcmyk(11.1%, 36.5%, 0%, 4.3%)
CIE-LABlab(72.71, 38.44, -35.59)
CIE-LCHlch(72.71, 52.38, 317.20°)
OKLaboklab(78.02% 0.0986 -0.0979)
OKLCHoklch(78.02% 0.139 315.2)
XYZxyz(56.6632, 44.7273, 91.2187)
Luminance0.4473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BF4 #B6F49B
analogous
#AC9BF4 #D99BF4 #F49BE2
triadic
#D99BF4 #F4D99B #9BF4D9
tetradic
#D99BF4 #F4AC9B #B6F49B #9BE2F4
square
#D99BF4 #F4AC9B #B6F49B #9BE2F4
split-complementary
#D99BF4 #E2F49B #9BF4AC
monochromatic
#AF2DE8 #C464EE #D99BF4 #EED2FA #F5E3FC

Accessibility & contrast

On white

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

On black

9.95
#D99BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BF4
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BF4#FFFFFF#000000##000000
##D99BF41.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAFF7
Deuteranopia (green-blind)
#9CB4F1
Tritanopia (blue-blind)
#D8A7BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99bf4;
/* rgb */ color: rgb(217, 155, 244);
/* oklch */ color: oklch(78.0% 0.139 315.2);
Tailwind
colors: {
  custom: {
    50: '#e6b9f8',
    500: '#d99bf4',
    950: '#000000',
  },
}
SCSS
$custom: #d99bf4;
$custom-light: #e6b9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bf4",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 244
  },
  "hsl": {
    "h": 281.798,
    "s": 80.18,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78017,
    "c": 0.13889,
    "h": 315.2
  },
  "luminance": 0.44726
}

Semantic roles & 50–950 ramp

primary
#D99BF4
secondary
#E0F4D7
accent
#DD0949
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D99BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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