#D98CDC#D98CDC

#D98CDC is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.5% C 0.139 H 325.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D98CDC
RGBrgb(217, 140, 220)
HSLhsl(298, 53%, 71%)
HSVhsv(298, 36%, 86%)
CMYKcmyk(1.4%, 36.4%, 0%, 13.7%)
CIE-LABlab(68.52, 41.77, -28.91)
CIE-LCHlch(68.52, 50.80, 325.31°)
OKLaboklab(74.54% 0.1149 -0.0788)
OKLCHoklch(74.54% 0.139 325.6)
XYZxyz(50.9104, 38.6772, 72.4800)
Luminance0.3867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CDC #8FDC8C
analogous
#B18CDC #D98CDC #DC8CB7
triadic
#D98CDC #DCD98C #8CDCD9
tetradic
#D98CDC #DCB18C #8FDC8C #8CB7DC
square
#D98CDC #DCB18C #8FDC8C #8CB7DC
split-complementary
#D98CDC #B7DC8C #8CDCB1
monochromatic
#B137B6 #C95DCE #D98CDC #E9BBEA #F7E8F8

Accessibility & contrast

On white

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

On black

8.74
#D98CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CDC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CDC#FFFFFF#000000##000000
##D98CDC1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DF
Deuteranopia (green-blind)
#99ABD9
Tritanopia (blue-blind)
#DD94AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98cdc;
/* rgb */ color: rgb(217, 140, 220);
/* oklch */ color: oklch(74.5% 0.139 325.6);
Tailwind
colors: {
  custom: {
    50: '#e6afe7',
    500: '#d98cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d98cdc;
$custom-light: #e6afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cdc",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 297.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74538,
    "c": 0.13927,
    "h": 325.6
  },
  "luminance": 0.38675
}

Semantic roles & 50–950 ramp

primary
#D98CDC
secondary
#D8EDD7
accent
#C1252B
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161016
muted
#847F84

Preview Lab

Preview with #D98CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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