#D99BF2#D99BF2

#D99BF2 is a light, vivid purple. Relative luminance 0.446; OKLCH L 77.9% C 0.137 H 315.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#D99BF2
RGBrgb(217, 155, 242)
HSLhsl(283, 77%, 78%)
HSVhsv(283, 36%, 95%)
CMYKcmyk(10.3%, 36%, 0%, 5.1%)
CIE-LABlab(72.63, 38.03, -34.62)
CIE-LCHlch(72.63, 51.43, 317.68°)
OKLaboklab(77.93% 0.0981 -0.0951)
OKLCHoklch(77.93% 0.137 315.9)
XYZxyz(56.3612, 44.6065, 89.6281)
Luminance0.4461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BF2 #B4F29B
analogous
#AE9BF2 #D99BF2 #F29BDF
triadic
#D99BF2 #F2D99B #9BF2D9
tetradic
#D99BF2 #F2AE9B #B4F29B #9BDFF2
square
#D99BF2 #F2AE9B #B4F29B #9BDFF2
split-complementary
#D99BF2 #DFF29B #9BF2AE
monochromatic
#B02FE4 #C465EB #D99BF2 #EED1F9 #F5E4FB

Accessibility & contrast

On white

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

On black

9.92
#D99BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BF2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BF2#FFFFFF#000000##000000
##D99BF21.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF5
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#D8A6BB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99bf2;
/* rgb */ color: rgb(217, 155, 242);
/* oklch */ color: oklch(77.9% 0.137 315.9);
Tailwind
colors: {
  custom: {
    50: '#e6b9f6',
    500: '#d99bf2',
    950: '#000000',
  },
}
SCSS
$custom: #d99bf2;
$custom-light: #e6b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bf2",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 282.759,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7793,
    "c": 0.13664,
    "h": 315.9
  },
  "luminance": 0.44605
}

Semantic roles & 50–950 ramp

primary
#D99BF2
secondary
#E0F3D8
accent
#D90C47
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D99BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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