#D98FCD#D98FCD

#D98FCD is a light, moderate purple. Relative luminance 0.388; OKLCH L 74.4% C 0.120 H 332.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#D98FCD
RGBrgb(217, 143, 205)
HSLhsl(310, 49%, 71%)
HSVhsv(310, 34%, 85%)
CMYKcmyk(0%, 34.1%, 5.5%, 14.9%)
CIE-LABlab(68.61, 37.46, -20.45)
CIE-LCHlch(68.61, 42.68, 331.37°)
OKLaboklab(74.43% 0.1065 -0.055)
OKLCHoklch(74.43% 0.12 332.7)
XYZxyz(49.4566, 38.8066, 62.6311)
Luminance0.3880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FCD #8FD99B
analogous
#C08FD9 #D98FCD #D98FA8
triadic
#D98FCD #CDD98F #8FCDD9
tetradic
#D98FCD #D9C08F #8FD99B #8FA8D9
square
#D98FCD #D9C08F #8FD99B #8FA8D9
split-complementary
#D98FCD #A8D98F #8FD9C0
monochromatic
#B13C9E #C961B9 #D98FCD #E9BDE1 #F7E8F5

Accessibility & contrast

On white

2.40
#D98FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#D98FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FCD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FCD#FFFFFF#000000##000000
##D98FCD1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CF
Deuteranopia (green-blind)
#A0ABCB
Tritanopia (blue-blind)
#DF93A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98fcd;
/* rgb */ color: rgb(217, 143, 205);
/* oklch */ color: oklch(74.4% 0.120 332.7);
Tailwind
colors: {
  custom: {
    50: '#e6b1dc',
    500: '#d98fcd',
    950: '#000000',
  },
}
SCSS
$custom: #d98fcd;
$custom-light: #e6b1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fcd",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 205
  },
  "hsl": {
    "h": 309.73,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74427,
    "c": 0.11986,
    "h": 332.7
  },
  "luminance": 0.38804
}

Semantic roles & 50–950 ramp

primary
#D98FCD
secondary
#D8ECDB
accent
#BD4129
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161115
muted
#848083

Preview Lab

Preview with #D98FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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