#D99FE2#D99FE2

#D99FE2 is a light, moderate purple. Relative luminance 0.450; OKLCH L 77.9% C 0.112 H 321.9°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#D99FE2
RGBrgb(217, 159, 226)
HSLhsl(292, 54%, 75%)
HSVhsv(292, 30%, 89%)
CMYKcmyk(4%, 29.6%, 0%, 11.4%)
CIE-LABlab(72.92, 32.73, -25.45)
CIE-LCHlch(72.92, 41.46, 322.13°)
OKLaboklab(77.95% 0.0883 -0.0692)
OKLCHoklch(77.95% 0.112 321.9)
XYZxyz(54.7392, 45.0405, 77.7469)
Luminance0.4504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FE2 #A8E29F
analogous
#B79FE2 #D99FE2 #E29FC9
triadic
#D99FE2 #E2D99F #9FE2D9
tetradic
#D99FE2 #E2B79F #A8E29F #9FC9E2
square
#D99FE2 #E2B79F #A8E29F #9FC9E2
split-complementary
#D99FE2 #C9E29F #9FE2B7
monochromatic
#B441C6 #C670D4 #D99FE2 #ECCEF0 #F6E7F8

Accessibility & contrast

On white

2.10
#D99FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#D99FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FE2
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FE2#FFFFFF#000000##000000
##D99FE21.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AFE5
Deuteranopia (green-blind)
#A6B5E0
Tritanopia (blue-blind)
#DBA6B7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99fe2;
/* rgb */ color: rgb(217, 159, 226);
/* oklch */ color: oklch(77.9% 0.112 321.9);
Tailwind
colors: {
  custom: {
    50: '#e5bceb',
    500: '#d99fe2',
    950: '#000000',
  },
}
SCSS
$custom: #d99fe2;
$custom-light: #e5bceb;
$custom-dark: #000000;
JSON
{
  "hex": "#d99fe2",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 226
  },
  "hsl": {
    "h": 291.94,
    "s": 53.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77947,
    "c": 0.11214,
    "h": 321.9
  },
  "luminance": 0.45039
}

Semantic roles & 50–950 ramp

primary
#D99FE2
secondary
#DFEFDC
accent
#C12439
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D99FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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