#D99BFB#D99BFB

#D99BFB is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.3% C 0.147 H 312.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#D99BFB
RGBrgb(217, 155, 251)
HSLhsl(279, 92%, 80%)
HSVhsv(279, 38%, 98%)
CMYKcmyk(13.5%, 38.2%, 0%, 1.6%)
CIE-LABlab(73.00, 39.87, -38.95)
CIE-LCHlch(73.00, 55.74, 315.67°)
OKLaboklab(78.33% 0.1 -0.1075)
OKLCHoklch(78.33% 0.147 312.9)
XYZxyz(57.7463, 45.1605, 96.9229)
Luminance0.4516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BFB #BDFB9B
analogous
#A99BFB #D99BFB #FB9BED
triadic
#D99BFB #FBD99B #9BFBD9
tetradic
#D99BFB #FBA99B #BDFB9B #9BEDFB
square
#D99BFB #FBA99B #BDFB9B #9BEDFB
split-complementary
#D99BFB #EDFB9B #9BFBA9
monochromatic
#AC25F6 #C360F9 #D99BFB #EFD6FD #F4E2FE

Accessibility & contrast

On white

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

On black

10.03
#D99BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BFB
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BFB#FFFFFF#000000##000000
##D99BFB1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#D6A8BF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99bfb;
/* rgb */ color: rgb(217, 155, 251);
/* oklch */ color: oklch(78.3% 0.147 312.9);
Tailwind
colors: {
  custom: {
    50: '#e6b9fd',
    500: '#d99bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d99bfb;
$custom-light: #e6b9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bfb",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 278.75,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78326,
    "c": 0.14683,
    "h": 312.9
  },
  "luminance": 0.45159
}

Semantic roles & 50–950 ramp

primary
#D99BFB
secondary
#E1F6D5
accent
#E60051
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D99BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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