#D98ECD#D98ECD

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

Color values

HEX#D98ECD
RGBrgb(217, 142, 205)
HSLhsl(310, 50%, 70%)
HSVhsv(310, 35%, 85%)
CMYKcmyk(0%, 34.6%, 5.5%, 14.9%)
CIE-LABlab(68.39, 37.99, -20.78)
CIE-LCHlch(68.39, 43.30, 331.32°)
OKLaboklab(74.26% 0.108 -0.0559)
OKLCHoklch(74.26% 0.122 332.6)
XYZxyz(49.3072, 38.5077, 62.5813)
Luminance0.3851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98ECD #8ED99A
analogous
#BF8ED9 #D98ECD #D98EA7
triadic
#D98ECD #CDD98E #8ECDD9
tetradic
#D98ECD #D9BF8E #8ED99A #8EA7D9
square
#D98ECD #D9BF8E #8ED99A #8EA7D9
split-complementary
#D98ECD #A7D98E #8ED9BF
monochromatic
#B13C9E #CA60B9 #D98ECD #E8BCE1 #F7E8F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D98ECD#FFFFFF#000000##000000
##D98ECD1.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)
#8DA0CF
Deuteranopia (green-blind)
#9FABCB
Tritanopia (blue-blind)
#DF92A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98ecd;
/* rgb */ color: rgb(217, 142, 205);
/* oklch */ color: oklch(74.3% 0.122 332.6);
Tailwind
colors: {
  custom: {
    50: '#e6b0dc',
    500: '#d98ecd',
    950: '#000000',
  },
}
SCSS
$custom: #d98ecd;
$custom-light: #e6b0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ecd",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 309.6,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74262,
    "c": 0.12163,
    "h": 332.6
  },
  "luminance": 0.38505
}

Semantic roles & 50–950 ramp

primary
#D98ECD
secondary
#D7ECDA
accent
#BD4029
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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