#D99BEF#D99BEF

#D99BEF is a light, vivid purple. Relative luminance 0.444; OKLCH L 77.8% C 0.133 H 317.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#D99BEF
RGBrgb(217, 155, 239)
HSLhsl(284, 72%, 77%)
HSVhsv(284, 35%, 94%)
CMYKcmyk(9.2%, 35.1%, 0%, 6.3%)
CIE-LABlab(72.51, 37.43, -33.17)
CIE-LCHlch(72.51, 50.01, 318.45°)
OKLaboklab(77.8% 0.0974 -0.091)
OKLCHoklch(77.8% 0.133 317)
XYZxyz(55.9143, 44.4277, 87.2746)
Luminance0.4443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BEF #B1EF9B
analogous
#AF9BEF #D99BEF #EF9BDB
triadic
#D99BEF #EFD99B #9BEFD9
tetradic
#D99BEF #EFAF9B #B1EF9B #9BDBEF
square
#D99BEF #EFAF9B #B1EF9B #9BDBEF
split-complementary
#D99BEF #DBEF9B #9BEFAF
monochromatic
#B131DE #C566E7 #D99BEF #EDD0F7 #F5E5FB

Accessibility & contrast

On white

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

On black

9.89
#D99BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BEF
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BEF#FFFFFF#000000##000000
##D99BEF1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF2
Deuteranopia (green-blind)
#9EB4EC
Tritanopia (blue-blind)
#D9A5BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99bef;
/* rgb */ color: rgb(217, 155, 239);
/* oklch */ color: oklch(77.8% 0.133 317.0);
Tailwind
colors: {
  custom: {
    50: '#e6b9f4',
    500: '#d99bef',
    950: '#000000',
  },
}
SCSS
$custom: #d99bef;
$custom-light: #e6b9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bef",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 239
  },
  "hsl": {
    "h": 284.286,
    "s": 72.414,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77801,
    "c": 0.13329,
    "h": 317
  },
  "luminance": 0.44426
}

Semantic roles & 50–950 ramp

primary
#D99BEF
secondary
#DFF2D9
accent
#D41144
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D99BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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