#D998F9#D998F9

#D998F9 is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.7% C 0.150 H 314.0°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#D998F9
RGBrgb(217, 152, 249)
HSLhsl(280, 89%, 79%)
HSVhsv(280, 39%, 98%)
CMYKcmyk(12.9%, 39%, 0%, 2.4%)
CIE-LABlab(72.26, 41.06, -39.01)
CIE-LCHlch(72.26, 56.64, 316.47°)
OKLaboklab(77.74% 0.1039 -0.1076)
OKLCHoklch(77.74% 0.15 314)
XYZxyz(56.9396, 44.0489, 95.1069)
Luminance0.4405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D998F9 #B8F998
analogous
#A898F9 #D998F9 #F998E8
triadic
#D998F9 #F9D998 #98F9D9
tetradic
#D998F9 #F9A898 #B8F998 #98E8F9
square
#D998F9 #F9A898 #B8F998 #98E8F9
split-complementary
#D998F9 #E8F998 #98F9A8
monochromatic
#AE24F2 #C45EF6 #D998F9 #EED2FC #F4E2FD

Accessibility & contrast

On white

2.14
#D998F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#D998F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D998F9
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D998F9#FFFFFF#000000##000000
##D998F91.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFD
Deuteranopia (green-blind)
#97B3F6
Tritanopia (blue-blind)
#D7A5BD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d998f9;
/* rgb */ color: rgb(217, 152, 249);
/* oklch */ color: oklch(77.7% 0.150 314.0);
Tailwind
colors: {
  custom: {
    50: '#e6b7fb',
    500: '#d998f9',
    950: '#000000',
  },
}
SCSS
$custom: #d998f9;
$custom-light: #e6b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d998f9",
  "rgb": {
    "r": 217,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 280.206,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77743,
    "c": 0.14958,
    "h": 314
  },
  "luminance": 0.44048
}

Semantic roles & 50–950 ramp

primary
#D998F9
secondary
#E0F5D6
accent
#E6004C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D998F9

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

Preview Lab → · Contrast checker → · Palette generator →

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