#D99BFE#D99BFE

#D99BFE is a light, vivid violet. Relative luminance 0.454; OKLCH L 78.5% C 0.150 H 312.0°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#D99BFE
RGBrgb(217, 155, 254)
HSLhsl(278, 98%, 80%)
HSVhsv(278, 39%, 100%)
CMYKcmyk(14.6%, 39%, 0%, 0.4%)
CIE-LABlab(73.12, 40.49, -40.38)
CIE-LCHlch(73.12, 57.18, 315.08°)
OKLaboklab(78.46% 0.1006 -0.1116)
OKLCHoklch(78.46% 0.15 312)
XYZxyz(58.2229, 45.3512, 99.4332)
Luminance0.4535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BFE #C0FE9B
analogous
#A79BFE #D99BFE #FE9BF1
triadic
#D99BFE #FED99B #9BFED9
tetradic
#D99BFE #FEA79B #C0FE9B #9BF1FE
square
#D99BFE #FEA79B #C0FE9B #9BF1FE
split-complementary
#D99BFE #F1FE9B #9BFEA7
monochromatic
#AB22FD #C25EFD #D99BFE #F0D8FF #F3E1FF

Accessibility & contrast

On white

2.09
#D99BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#D99BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BFE
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BFE#FFFFFF#000000##000000
##D99BFE1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#97B5FB
Tritanopia (blue-blind)
#D5A9C1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99bfe;
/* rgb */ color: rgb(217, 155, 254);
/* oklch */ color: oklch(78.5% 0.150 312.0);
Tailwind
colors: {
  custom: {
    50: '#e6b9ff',
    500: '#d99bfe',
    950: '#000000',
  },
}
SCSS
$custom: #d99bfe;
$custom-light: #e6b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bfe",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 254
  },
  "hsl": {
    "h": 277.576,
    "s": 98.02,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78462,
    "c": 0.15027,
    "h": 312
  },
  "luminance": 0.4535
}

Semantic roles & 50–950 ramp

primary
#D99BFE
secondary
#E1F7D4
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D99BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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