#D899F9#D899F9

#D899F9 is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.8% C 0.147 H 313.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#D899F9
RGBrgb(216, 153, 249)
HSLhsl(279, 89%, 79%)
HSVhsv(279, 39%, 98%)
CMYKcmyk(13.3%, 38.6%, 0%, 2.4%)
CIE-LABlab(72.38, 40.23, -38.84)
CIE-LCHlch(72.38, 55.92, 316.01°)
OKLaboklab(77.81% 0.1013 -0.1072)
OKLCHoklch(77.81% 0.147 313.4)
XYZxyz(56.8062, 44.2221, 95.1474)
Luminance0.4422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D899F9 #BAF999
analogous
#A899F9 #D899F9 #F999EA
triadic
#D899F9 #F9D899 #99F9D8
tetradic
#D899F9 #F9A899 #BAF999 #99EAF9
square
#D899F9 #F9A899 #BAF999 #99EAF9
split-complementary
#D899F9 #EAF999 #99F9A8
monochromatic
#AC25F2 #C25FF6 #D899F9 #EED3FC #F4E2FD

Accessibility & contrast

On white

2.13
#D899F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#D899F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D899F9
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D899F9#FFFFFF#000000##000000
##D899F91.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFD
Deuteranopia (green-blind)
#97B3F6
Tritanopia (blue-blind)
#D5A6BD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d899f9;
/* rgb */ color: rgb(216, 153, 249);
/* oklch */ color: oklch(77.8% 0.147 313.4);
Tailwind
colors: {
  custom: {
    50: '#e5b8fb',
    500: '#d899f9',
    950: '#000000',
  },
}
SCSS
$custom: #d899f9;
$custom-light: #e5b8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d899f9",
  "rgb": {
    "r": 216,
    "g": 153,
    "b": 249
  },
  "hsl": {
    "h": 279.375,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77807,
    "c": 0.14748,
    "h": 313.4
  },
  "luminance": 0.44221
}

Semantic roles & 50–950 ramp

primary
#D899F9
secondary
#E1F5D6
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D899F9

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

Preview Lab → · Contrast checker → · Palette generator →

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