#D98CD8#D98CD8

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

Color values

HEX#D98CD8
RGBrgb(217, 140, 216)
HSLhsl(301, 50%, 70%)
HSVhsv(301, 35%, 85%)
CMYKcmyk(0%, 35.5%, 0.5%, 14.9%)
CIE-LABlab(68.36, 41.03, -26.93)
CIE-LCHlch(68.36, 49.08, 326.72°)
OKLaboklab(74.37% 0.1139 -0.0732)
OKLCHoklch(74.37% 0.135 327.3)
XYZxyz(50.3870, 38.4678, 69.7233)
Luminance0.3847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CD8 #8CD98D
analogous
#B38CD9 #D98CD8 #D98CB2
triadic
#D98CD8 #D8D98C #8CD8D9
tetradic
#D98CD8 #D9B38C #8CD98D #8CB2D9
square
#D98CD8 #D9B38C #8CD98D #8CB2D9
split-complementary
#D98CD8 #B2D98C #8CD9B3
monochromatic
#B03AAF #CA5EC8 #D98CD8 #E8BAE8 #F7E8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D98CD8#FFFFFF#000000##000000
##D98CD81.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)
#87A0DB
Deuteranopia (green-blind)
#9AAAD5
Tritanopia (blue-blind)
#DE93A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98cd8;
/* rgb */ color: rgb(217, 140, 216);
/* oklch */ color: oklch(74.4% 0.135 327.3);
Tailwind
colors: {
  custom: {
    50: '#e6afe4',
    500: '#d98cd8',
    950: '#000000',
  },
}
SCSS
$custom: #d98cd8;
$custom-light: #e6afe4;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cd8",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 300.779,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.74372,
    "c": 0.13537,
    "h": 327.3
  },
  "luminance": 0.38466
}

Semantic roles & 50–950 ramp

primary
#D98CD8
secondary
#D6EBD6
accent
#BE2A28
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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