#D98DCE#D98DCE

#D98DCE is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.1% C 0.124 H 332.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D98DCE
RGBrgb(217, 141, 206)
HSLhsl(309, 50%, 70%)
HSVhsv(309, 35%, 85%)
CMYKcmyk(0%, 35%, 5.1%, 14.9%)
CIE-LABlab(68.21, 38.70, -21.61)
CIE-LCHlch(68.21, 44.33, 330.82°)
OKLaboklab(74.14% 0.1098 -0.0583)
OKLCHoklch(74.14% 0.124 332)
XYZxyz(49.2801, 38.2599, 63.1697)
Luminance0.3826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DCE #8DD998
analogous
#BE8DD9 #D98DCE #D98DA8
triadic
#D98DCE #CED98D #8DCED9
tetradic
#D98DCE #D9BE8D #8DD998 #8DA8D9
square
#D98DCE #D9BE8D #8DD998 #8DA8D9
split-complementary
#D98DCE #A8D98D #8DD9BE
monochromatic
#B13BA0 #CA5FBA #D98DCE #E8BBE2 #F7E8F5

Accessibility & contrast

On white

2.43
#D98DCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D98DCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DCE
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DCE#FFFFFF#000000##000000
##D98DCE1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA0D0
Deuteranopia (green-blind)
#9EAACC
Tritanopia (blue-blind)
#DF91A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98dce;
/* rgb */ color: rgb(217, 141, 206);
/* oklch */ color: oklch(74.1% 0.124 332.0);
Tailwind
colors: {
  custom: {
    50: '#e6afdd',
    500: '#d98dce',
    950: '#000000',
  },
}
SCSS
$custom: #d98dce;
$custom-light: #e6afdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dce",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 206
  },
  "hsl": {
    "h": 308.684,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74136,
    "c": 0.12428,
    "h": 332
  },
  "luminance": 0.38258
}

Semantic roles & 50–950 ramp

primary
#D98DCE
secondary
#D6EBD9
accent
#BD3E28
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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