#D98DD2#D98DD2

#D98DD2 is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.3% C 0.128 H 330.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#D98DD2
RGBrgb(217, 141, 210)
HSLhsl(306, 50%, 70%)
HSVhsv(306, 35%, 85%)
CMYKcmyk(0%, 35%, 3.2%, 14.9%)
CIE-LABlab(68.36, 39.41, -23.62)
CIE-LCHlch(68.36, 45.94, 329.07°)
OKLaboklab(74.29% 0.1109 -0.0639)
OKLCHoklch(74.29% 0.128 330.1)
XYZxyz(49.7723, 38.4568, 65.7614)
Luminance0.3846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DD2 #8DD994
analogous
#BA8DD9 #D98DD2 #D98DAC
triadic
#D98DD2 #D2D98D #8DD2D9
tetradic
#D98DD2 #D9BA8D #8DD994 #8DACD9
square
#D98DD2 #D9BA8D #8DD994 #8DACD9
split-complementary
#D98DD2 #ACD98D #8DD9BA
monochromatic
#B13BA6 #CA5FC0 #D98DD2 #E8BBE4 #F7E8F6

Accessibility & contrast

On white

2.42
#D98DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#D98DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DD2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DD2#FFFFFF#000000##000000
##D98DD21.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA0D5
Deuteranopia (green-blind)
#9DAAD0
Tritanopia (blue-blind)
#DF92A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98dd2;
/* rgb */ color: rgb(217, 141, 210);
/* oklch */ color: oklch(74.3% 0.128 330.1);
Tailwind
colors: {
  custom: {
    50: '#e6afe0',
    500: '#d98dd2',
    950: '#000000',
  },
}
SCSS
$custom: #d98dd2;
$custom-light: #e6afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dd2",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 210
  },
  "hsl": {
    "h": 305.526,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74293,
    "c": 0.12794,
    "h": 330.1
  },
  "luminance": 0.38455
}

Semantic roles & 50–950 ramp

primary
#D98DD2
secondary
#D6EBD8
accent
#BD3628
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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