#D98CD9#D98CD9

#D98CD9 is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.4% C 0.136 H 326.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#D98CD9
RGBrgb(217, 140, 217)
HSLhsl(300, 50%, 70%)
HSVhsv(300, 35%, 85%)
CMYKcmyk(0%, 35.5%, 0%, 14.9%)
CIE-LABlab(68.40, 41.21, -27.43)
CIE-LCHlch(68.40, 49.50, 326.36°)
OKLaboklab(74.41% 0.1141 -0.0746)
OKLCHoklch(74.41% 0.136 326.8)
XYZxyz(50.5167, 38.5197, 70.4063)
Luminance0.3852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CD9 #8CD98C
analogous
#B28CD9 #D98CD9 #D98CB3
triadic
#D98CD9 #D9D98C #8CD9D9
tetradic
#D98CD9 #D9B38C #8CD98C #8CB2D9
square
#D98CD9 #D9B38C #8CD98C #8CB2D9
split-complementary
#D98CD9 #B3D98C #8CD9B3
monochromatic
#B03AB0 #CA5ECA #D98CD9 #E8BAE8 #F7E8F7

Accessibility & contrast

On white

2.41
#D98CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#D98CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CD9
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CD9#FFFFFF#000000##000000
##D98CD91.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DC
Deuteranopia (green-blind)
#9AAAD6
Tritanopia (blue-blind)
#DE93A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98cd9;
/* rgb */ color: rgb(217, 140, 217);
/* oklch */ color: oklch(74.4% 0.136 326.8);
Tailwind
colors: {
  custom: {
    50: '#e6afe5',
    500: '#d98cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d98cd9;
$custom-light: #e6afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cd9",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 300,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.74413,
    "c": 0.13634,
    "h": 326.8
  },
  "luminance": 0.38518
}

Semantic roles & 50–950 ramp

primary
#D98CD9
secondary
#D6EBD6
accent
#BE2828
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161015
muted
#847F84

Preview Lab

Preview with #D98CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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