#D99FE4#D99FE4

#D99FE4 is a light, moderate purple. Relative luminance 0.451; OKLCH L 78.0% C 0.114 H 321.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#D99FE4
RGBrgb(217, 159, 228)
HSLhsl(290, 56%, 76%)
HSVhsv(290, 30%, 89%)
CMYKcmyk(4.8%, 30.3%, 0%, 10.6%)
CIE-LABlab(72.99, 33.11, -26.43)
CIE-LCHlch(72.99, 42.37, 321.40°)
OKLaboklab(78.03% 0.0888 -0.0719)
OKLCHoklch(78.03% 0.114 321)
XYZxyz(55.0152, 45.1509, 79.2007)
Luminance0.4515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FE4 #AAE49F
analogous
#B69FE4 #D99FE4 #E49FCC
triadic
#D99FE4 #E4D99F #9FE4D9
tetradic
#D99FE4 #E4B69F #AAE49F #9FCCE4
square
#D99FE4 #E4B69F #AAE49F #9FCCE4
split-complementary
#D99FE4 #CCE49F #9FE4B6
monochromatic
#B33FC9 #C66FD7 #D99FE4 #ECCFF1 #F6E7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D99FE4#FFFFFF#000000##000000
##D99FE41.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)
#97AFE7
Deuteranopia (green-blind)
#A5B5E2
Tritanopia (blue-blind)
#DBA6B8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99fe4;
/* rgb */ color: rgb(217, 159, 228);
/* oklch */ color: oklch(78.0% 0.114 321.0);
Tailwind
colors: {
  custom: {
    50: '#e5bcec',
    500: '#d99fe4',
    950: '#000000',
  },
}
SCSS
$custom: #d99fe4;
$custom-light: #e5bcec;
$custom-dark: #000000;
JSON
{
  "hex": "#d99fe4",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 228
  },
  "hsl": {
    "h": 290.435,
    "s": 56.098,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78027,
    "c": 0.11429,
    "h": 321
  },
  "luminance": 0.45149
}

Semantic roles & 50–950 ramp

primary
#D99FE4
secondary
#DFF0DB
accent
#C4223C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D99FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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