#D99FF3#D99FF3

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

Color values

HEX#D99FF3
RGBrgb(217, 159, 243)
HSLhsl(281, 78%, 79%)
HSVhsv(281, 35%, 95%)
CMYKcmyk(10.7%, 34.6%, 0%, 4.7%)
CIE-LABlab(73.56, 36.08, -33.73)
CIE-LCHlch(73.56, 49.40, 316.93°)
OKLaboklab(78.65% 0.0926 -0.0926)
OKLCHoklch(78.65% 0.131 315)
XYZxyz(57.1886, 46.0202, 90.6468)
Luminance0.4602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FF3 #B9F39F
analogous
#AF9FF3 #D99FF3 #F39FE3
triadic
#D99FF3 #F3D99F #9FF3D9
tetradic
#D99FF3 #F3AF9F #B9F39F #9FE3F3
square
#D99FF3 #F3AF9F #B9F39F #9FE3F3
split-complementary
#D99FF3 #E3F39F #9FF3AF
monochromatic
#AE32E5 #C369EC #D99FF3 #EFD5FA #F4E4FC

Accessibility & contrast

On white

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

On black

10.20
#D99FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FF3
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FF3#FFFFFF#000000##000000
##D99FF31.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F6
Deuteranopia (green-blind)
#9FB6F0
Tritanopia (blue-blind)
#D8AABE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d99ff3;
/* rgb */ color: rgb(217, 159, 243);
/* oklch */ color: oklch(78.6% 0.131 315.0);
Tailwind
colors: {
  custom: {
    50: '#e6bcf7',
    500: '#d99ff3',
    950: '#000000',
  },
}
SCSS
$custom: #d99ff3;
$custom-light: #e6bcf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ff3",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 243
  },
  "hsl": {
    "h": 281.429,
    "s": 77.778,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78645,
    "c": 0.13095,
    "h": 315
  },
  "luminance": 0.46019
}

Semantic roles & 50–950 ramp

primary
#D99FF3
secondary
#E0F3D8
accent
#DA0B4B
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #D99FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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