#D98CD4#D98CD4

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

Color values

HEX#D98CD4
RGBrgb(217, 140, 212)
HSLhsl(304, 50%, 70%)
HSVhsv(304, 35%, 85%)
CMYKcmyk(0%, 35.5%, 2.3%, 14.9%)
CIE-LABlab(68.21, 40.30, -24.94)
CIE-LCHlch(68.21, 47.40, 328.25°)
OKLaboklab(74.21% 0.1129 -0.0676)
OKLCHoklch(74.21% 0.132 329.1)
XYZxyz(49.8762, 38.2635, 67.0330)
Luminance0.3826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CD4 #8CD991
analogous
#B78CD9 #D98CD4 #D98CAE
triadic
#D98CD4 #D4D98C #8CD4D9
tetradic
#D98CD4 #D9B78C #8CD991 #8CAED9
square
#D98CD4 #D9B78C #8CD991 #8CAED9
split-complementary
#D98CD4 #AED98C #8CD9B7
monochromatic
#B03AA9 #CA5EC3 #D98CD4 #E8BAE5 #F7E8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D98CD4#FFFFFF#000000##000000
##D98CD41.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)
#88A0D7
Deuteranopia (green-blind)
#9CAAD1
Tritanopia (blue-blind)
#DE92A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98cd4;
/* rgb */ color: rgb(217, 140, 212);
/* oklch */ color: oklch(74.2% 0.132 329.1);
Tailwind
colors: {
  custom: {
    50: '#e6afe1',
    500: '#d98cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d98cd4;
$custom-light: #e6afe1;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cd4",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 303.896,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.7421,
    "c": 0.13156,
    "h": 329.1
  },
  "luminance": 0.38261
}

Semantic roles & 50–950 ramp

primary
#D98CD4
secondary
#D6EBD7
accent
#BE3228
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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