#D99FF4#D99FF4

#D99FF4 is a light, vivid purple. Relative luminance 0.461; OKLCH L 78.7% C 0.132 H 314.6°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D99FF4
RGBrgb(217, 159, 244)
HSLhsl(281, 79%, 79%)
HSVhsv(281, 35%, 96%)
CMYKcmyk(11.1%, 34.8%, 0%, 4.3%)
CIE-LABlab(73.60, 36.29, -34.22)
CIE-LCHlch(73.60, 49.87, 316.68°)
OKLaboklab(78.69% 0.0928 -0.094)
OKLCHoklch(78.69% 0.132 314.6)
XYZxyz(57.3400, 46.0808, 91.4443)
Luminance0.4608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FF4 #BAF49F
analogous
#AF9FF4 #D99FF4 #F49FE5
triadic
#D99FF4 #F4D99F #9FF4D9
tetradic
#D99FF4 #F4AF9F #BAF49F #9FE5F4
square
#D99FF4 #F4AF9F #BAF49F #9FE5F4
split-complementary
#D99FF4 #E5F49F #9FF4AF
monochromatic
#AE31E7 #C368EE #D99FF4 #EFD6FA #F4E4FC

Accessibility & contrast

On white

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

On black

10.22
#D99FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FF4
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FF4#FFFFFF#000000##000000
##D99FF41.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B1F7
Deuteranopia (green-blind)
#9FB6F1
Tritanopia (blue-blind)
#D7AABE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d99ff4;
/* rgb */ color: rgb(217, 159, 244);
/* oklch */ color: oklch(78.7% 0.132 314.6);
Tailwind
colors: {
  custom: {
    50: '#e6bcf8',
    500: '#d99ff4',
    950: '#000000',
  },
}
SCSS
$custom: #d99ff4;
$custom-light: #e6bcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ff4",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 244
  },
  "hsl": {
    "h": 280.941,
    "s": 79.439,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78688,
    "c": 0.13209,
    "h": 314.6
  },
  "luminance": 0.4608
}

Semantic roles & 50–950 ramp

primary
#D99FF4
secondary
#E0F4D7
accent
#DC0A4C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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