#D99FF2#D99FF2

#D99FF2 is a light, vivid purple. Relative luminance 0.460; OKLCH L 78.6% C 0.130 H 315.3°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#D99FF2
RGBrgb(217, 159, 242)
HSLhsl(282, 76%, 79%)
HSVhsv(282, 34%, 95%)
CMYKcmyk(10.3%, 34.3%, 0%, 5.1%)
CIE-LABlab(73.52, 35.88, -33.25)
CIE-LCHlch(73.52, 48.92, 317.18°)
OKLaboklab(78.6% 0.0924 -0.0912)
OKLCHoklch(78.6% 0.13 315.3)
XYZxyz(57.0380, 45.9600, 89.8537)
Luminance0.4596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FF2 #B8F29F
analogous
#AF9FF2 #D99FF2 #F29FE1
triadic
#D99FF2 #F2D99F #9FF2D9
tetradic
#D99FF2 #F2AF9F #B8F29F #9FE1F2
square
#D99FF2 #F2AF9F #B8F29F #9FE1F2
split-complementary
#D99FF2 #E1F29F #9FF2AF
monochromatic
#AE33E3 #C469EB #D99FF2 #EED5F9 #F4E4FB

Accessibility & contrast

On white

2.06
#D99FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#D99FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FF2
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FF2#FFFFFF#000000##000000
##D99FF21.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#D8AABE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d99ff2;
/* rgb */ color: rgb(217, 159, 242);
/* oklch */ color: oklch(78.6% 0.130 315.3);
Tailwind
colors: {
  custom: {
    50: '#e6bcf6',
    500: '#d99ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d99ff2;
$custom-light: #e6bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ff2",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 281.928,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78602,
    "c": 0.12981,
    "h": 315.3
  },
  "luminance": 0.45959
}

Semantic roles & 50–950 ramp

primary
#D99FF2
secondary
#E0F3D8
accent
#D80D4A
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #D99FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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