#D98EDE#D98EDE

#D98EDE is a light, vivid purple. Relative luminance 0.394; OKLCH L 74.9% C 0.138 H 324.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D98EDE
RGBrgb(217, 142, 222)
HSLhsl(296, 55%, 71%)
HSVhsv(296, 36%, 87%)
CMYKcmyk(2.3%, 36%, 0%, 12.9%)
CIE-LABlab(69.02, 41.08, -29.24)
CIE-LCHlch(69.02, 50.42, 324.56°)
OKLaboklab(74.94% 0.1124 -0.0797)
OKLCHoklch(74.94% 0.138 324.6)
XYZxyz(51.4718, 39.3736, 73.9816)
Luminance0.3937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EDE #93DE8E
analogous
#B18EDE #D98EDE #DE8EBB
triadic
#D98EDE #DED98E #8EDED9
tetradic
#D98EDE #DEB18E #93DE8E #8EBBDE
square
#D98EDE #DEB18E #93DE8E #8EBBDE
split-complementary
#D98EDE #BBDE8E #8EDEB1
monochromatic
#B337BB #C95FD0 #D98EDE #E9BDEC #F7E7F8

Accessibility & contrast

On white

2.37
#D98EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#D98EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EDE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EDE#FFFFFF#000000##000000
##D98EDE1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E1
Deuteranopia (green-blind)
#9AACDB
Tritanopia (blue-blind)
#DD96AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d98ede;
/* rgb */ color: rgb(217, 142, 222);
/* oklch */ color: oklch(74.9% 0.138 324.6);
Tailwind
colors: {
  custom: {
    50: '#e6b0e8',
    500: '#d98ede',
    950: '#000000',
  },
}
SCSS
$custom: #d98ede;
$custom-light: #e6b0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ede",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 222
  },
  "hsl": {
    "h": 296.25,
    "s": 54.795,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74943,
    "c": 0.13778,
    "h": 324.6
  },
  "luminance": 0.39372
}

Semantic roles & 50–950 ramp

primary
#D98EDE
secondary
#DBEEDA
accent
#C2232D
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161116
muted
#848084

Preview Lab

Preview with #D98EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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