#D98DDE#D98DDE

#D98DDE is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.8% C 0.140 H 324.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#D98DDE
RGBrgb(217, 141, 222)
HSLhsl(296, 55%, 71%)
HSVhsv(296, 36%, 87%)
CMYKcmyk(2.3%, 36.5%, 0%, 12.9%)
CIE-LABlab(68.81, 41.61, -29.57)
CIE-LCHlch(68.81, 51.05, 324.60°)
OKLaboklab(74.78% 0.1139 -0.0806)
OKLCHoklch(74.78% 0.14 324.7)
XYZxyz(51.3237, 39.0774, 73.9323)
Luminance0.3907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DDE #92DE8D
analogous
#B08DDE #D98DDE #DE8DBA
triadic
#D98DDE #DED98D #8DDED9
tetradic
#D98DDE #DEB08D #92DE8D #8DBADE
square
#D98DDE #DEB08D #92DE8D #8DBADE
split-complementary
#D98DDE #BADE8D #8DDEB0
monochromatic
#B236BB #C95ED0 #D98DDE #E9BCEC #F7E7F8

Accessibility & contrast

On white

2.38
#D98DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#D98DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DDE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DDE#FFFFFF#000000##000000
##D98DDE1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E1
Deuteranopia (green-blind)
#99ABDB
Tritanopia (blue-blind)
#DD95AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d98dde;
/* rgb */ color: rgb(217, 141, 222);
/* oklch */ color: oklch(74.8% 0.140 324.7);
Tailwind
colors: {
  custom: {
    50: '#e6b0e8',
    500: '#d98dde',
    950: '#000000',
  },
}
SCSS
$custom: #d98dde;
$custom-light: #e6b0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dde",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 222
  },
  "hsl": {
    "h": 296.296,
    "s": 55.102,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74782,
    "c": 0.13952,
    "h": 324.7
  },
  "luminance": 0.39075
}

Semantic roles & 50–950 ramp

primary
#D98DDE
secondary
#DAEED9
accent
#C3232D
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161016
muted
#847F84

Preview Lab

Preview with #D98DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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