#D99BFC#D99BFC

#D99BFC is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.4% C 0.148 H 312.6°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D99BFC
RGBrgb(217, 155, 252)
HSLhsl(278, 94%, 80%)
HSVhsv(278, 38%, 99%)
CMYKcmyk(13.9%, 38.5%, 0%, 1.2%)
CIE-LABlab(73.04, 40.08, -39.43)
CIE-LCHlch(73.04, 56.22, 315.47°)
OKLaboklab(78.37% 0.1002 -0.1088)
OKLCHoklch(78.37% 0.148 312.6)
XYZxyz(57.9043, 45.2237, 97.7553)
Luminance0.4522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BFC #BEFC9B
analogous
#A99BFC #D99BFC #FC9BEE
triadic
#D99BFC #FCD99B #9BFCD9
tetradic
#D99BFC #FCA99B #BEFC9B #9BEEFC
square
#D99BFC #FCA99B #BEFC9B #9BEEFC
split-complementary
#D99BFC #EEFC9B #9BFCA9
monochromatic
#AC24F8 #C260FA #D99BFC #F0D6FE #F4E1FE

Accessibility & contrast

On white

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

On black

10.04
#D99BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BFC
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BFC#FFFFFF#000000##000000
##D99BFC1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#D6A9C0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99bfc;
/* rgb */ color: rgb(217, 155, 252);
/* oklch */ color: oklch(78.4% 0.148 312.6);
Tailwind
colors: {
  custom: {
    50: '#e6b9fd',
    500: '#d99bfc',
    950: '#000000',
  },
}
SCSS
$custom: #d99bfc;
$custom-light: #e6b9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bfc",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 278.351,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78371,
    "c": 0.14797,
    "h": 312.6
  },
  "luminance": 0.45223
}

Semantic roles & 50–950 ramp

primary
#D99BFC
secondary
#E1F6D5
accent
#E60053
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D99BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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