#D99CF6#D99CF6

#D99CF6 is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.3% C 0.139 H 314.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D99CF6
RGBrgb(217, 156, 246)
HSLhsl(281, 83%, 79%)
HSVhsv(281, 37%, 96%)
CMYKcmyk(11.8%, 36.6%, 0%, 3.5%)
CIE-LABlab(73.01, 38.31, -36.21)
CIE-LCHlch(73.01, 52.71, 316.61°)
OKLaboklab(78.27% 0.0976 -0.0996)
OKLCHoklch(78.27% 0.139 314.4)
XYZxyz(57.1356, 45.1836, 92.8824)
Luminance0.4518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CF6 #B9F69C
analogous
#AC9CF6 #D99CF6 #F69CE6
triadic
#D99CF6 #F6D99C #9CF6D9
tetradic
#D99CF6 #F6AC9C #B9F69C #9CE6F6
square
#D99CF6 #F6AC9C #B9F69C #9CE6F6
split-complementary
#D99CF6 #E6F69C #9CF6AC
monochromatic
#AE2CEC #C364F1 #D99CF6 #EFD4FB #F4E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D99CF6#FFFFFF#000000##000000
##D99CF61.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)
#8DB0F9
Deuteranopia (green-blind)
#9CB5F3
Tritanopia (blue-blind)
#D7A8BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99cf6;
/* rgb */ color: rgb(217, 156, 246);
/* oklch */ color: oklch(78.3% 0.139 314.4);
Tailwind
colors: {
  custom: {
    50: '#e6baf9',
    500: '#d99cf6',
    950: '#000000',
  },
}
SCSS
$custom: #d99cf6;
$custom-light: #e6baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cf6",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 246
  },
  "hsl": {
    "h": 280.667,
    "s": 83.333,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7827,
    "c": 0.13946,
    "h": 314.4
  },
  "luminance": 0.45182
}

Semantic roles & 50–950 ramp

primary
#D99CF6
secondary
#E0F4D7
accent
#E0064C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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