#D98FDA#D98FDA

#D98FDA is a light, vivid purple. Relative luminance 0.395; OKLCH L 74.9% C 0.132 H 326.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#D98FDA
RGBrgb(217, 143, 218)
HSLhsl(299, 50%, 71%)
HSVhsv(299, 34%, 85%)
CMYKcmyk(0.5%, 34.4%, 0%, 14.5%)
CIE-LABlab(69.08, 39.80, -26.93)
CIE-LCHlch(69.08, 48.06, 325.92°)
OKLaboklab(74.94% 0.1099 -0.0732)
OKLCHoklch(74.94% 0.132 326.3)
XYZxyz(51.0915, 39.4606, 71.2415)
Luminance0.3946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FDA #90DA8F
analogous
#B38FDA #D98FDA #DA8FB5
triadic
#D98FDA #DAD98F #8FDAD9
tetradic
#D98FDA #DAB38F #90DA8F #8FB5DA
square
#D98FDA #DAB38F #90DA8F #8FB5DA
split-complementary
#D98FDA #B5DA8F #8FDAB3
monochromatic
#B23BB3 #C961CB #D98FDA #E9BDE9 #F7E8F7

Accessibility & contrast

On white

2.36
#D98FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#D98FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FDA
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FDA#FFFFFF#000000##000000
##D98FDA1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DD
Deuteranopia (green-blind)
#9CACD7
Tritanopia (blue-blind)
#DD96AB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d98fda;
/* rgb */ color: rgb(217, 143, 218);
/* oklch */ color: oklch(74.9% 0.132 326.3);
Tailwind
colors: {
  custom: {
    50: '#e6b1e5',
    500: '#d98fda',
    950: '#000000',
  },
}
SCSS
$custom: #d98fda;
$custom-light: #e6b1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fda",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 299.2,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7494,
    "c": 0.13208,
    "h": 326.3
  },
  "luminance": 0.39459
}

Semantic roles & 50–950 ramp

primary
#D98FDA
secondary
#D9ECD8
accent
#BE282A
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161115
muted
#848084

Preview Lab

Preview with #D98FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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