#D99BF8#D99BF8

#D99BF8 is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.2% C 0.143 H 313.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#D99BF8
RGBrgb(217, 155, 248)
HSLhsl(280, 87%, 79%)
HSVhsv(280, 38%, 97%)
CMYKcmyk(12.5%, 37.5%, 0%, 2.7%)
CIE-LABlab(72.87, 39.25, -37.51)
CIE-LCHlch(72.87, 54.29, 316.30°)
OKLaboklab(78.19% 0.0994 -0.1034)
OKLCHoklch(78.19% 0.143 313.9)
XYZxyz(57.2772, 44.9729, 94.4521)
Luminance0.4497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BF8 #BAF89B
analogous
#AB9BF8 #D99BF8 #F89BE9
triadic
#D99BF8 #F8D99B #9BF8D9
tetradic
#D99BF8 #F8AB9B #BAF89B #9BE9F8
square
#D99BF8 #F8AB9B #BAF89B #9BE9F8
split-complementary
#D99BF8 #E9F89B #9BF8AB
monochromatic
#AE29F0 #C362F4 #D99BF8 #EFD4FC #F4E2FD

Accessibility & contrast

On white

2.10
#D99BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#D99BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BF8
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BF8#FFFFFF#000000##000000
##D99BF81.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAFFB
Deuteranopia (green-blind)
#9AB5F5
Tritanopia (blue-blind)
#D7A8BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99bf8;
/* rgb */ color: rgb(217, 155, 248);
/* oklch */ color: oklch(78.2% 0.143 313.9);
Tailwind
colors: {
  custom: {
    50: '#e6b9fb',
    500: '#d99bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d99bf8;
$custom-light: #e6b9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bf8",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 248
  },
  "hsl": {
    "h": 280,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78192,
    "c": 0.14342,
    "h": 313.9
  },
  "luminance": 0.44972
}

Semantic roles & 50–950 ramp

primary
#D99BF8
secondary
#E0F5D6
accent
#E3024D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D99BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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