#D98DED#D98DED

#D98DED is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.4% C 0.155 H 319.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D98DED
RGBrgb(217, 141, 237)
HSLhsl(288, 73%, 74%)
HSVhsv(288, 41%, 93%)
CMYKcmyk(8.4%, 40.5%, 0%, 7.1%)
CIE-LABlab(69.41, 44.49, -36.89)
CIE-LCHlch(69.41, 57.79, 320.33°)
OKLaboklab(75.44% 0.1171 -0.1015)
OKLCHoklch(75.44% 0.155 319.1)
XYZxyz(53.4242, 39.9176, 84.9950)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DED #A1ED8D
analogous
#A98DED #D98DED #ED8DD1
triadic
#D98DED #EDD98D #8DEDD9
tetradic
#D98DED #EDA98D #A1ED8D #8DD1ED
square
#D98DED #EDA98D #A1ED8D #8DD1ED
split-complementary
#D98DED #D1ED8D #8DEDA9
monochromatic
#B623DC #C758E5 #D98DED #EBC2F5 #F6E5FB

Accessibility & contrast

On white

2.34
#D98DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D98DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DED
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DED#FFFFFF#000000##000000
##D98DED1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4F0
Deuteranopia (green-blind)
#93ACEA
Tritanopia (blue-blind)
#DA99B2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d98ded;
/* rgb */ color: rgb(217, 141, 237);
/* oklch */ color: oklch(75.4% 0.155 319.1);
Tailwind
colors: {
  custom: {
    50: '#e6b0f3',
    500: '#d98ded',
    950: '#000000',
  },
}
SCSS
$custom: #d98ded;
$custom-light: #e6b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ded",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 287.5,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75435,
    "c": 0.15496,
    "h": 319.1
  },
  "luminance": 0.39916
}

Semantic roles & 50–950 ramp

primary
#D98DED
secondary
#DEF2D9
accent
#D5113A
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #D98DED

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

Preview Lab → · Contrast checker → · Palette generator →

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