#D98EDD#D98EDD

#D98EDD is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.9% C 0.137 H 325.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#D98EDD
RGBrgb(217, 142, 221)
HSLhsl(297, 54%, 71%)
HSVhsv(297, 36%, 87%)
CMYKcmyk(1.8%, 35.7%, 0%, 13.3%)
CIE-LABlab(68.98, 40.89, -28.75)
CIE-LCHlch(68.98, 49.99, 324.89°)
OKLaboklab(74.9% 0.1121 -0.0783)
OKLCHoklch(74.9% 0.137 325.1)
XYZxyz(51.3382, 39.3201, 73.2779)
Luminance0.3932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EDD #92DD8E
analogous
#B18EDD #D98EDD #DD8EB9
triadic
#D98EDD #DDD98E #8EDDD9
tetradic
#D98EDD #DDB18E #92DD8E #8EB9DD
square
#D98EDD #DDB18E #92DD8E #8EB9DD
split-complementary
#D98EDD #B9DD8E #8EDDB1
monochromatic
#B238B9 #C95FCF #D98EDD #E9BDEB #F7E7F8

Accessibility & contrast

On white

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

On black

8.86
#D98EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EDD
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EDD#FFFFFF#000000##000000
##D98EDD1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d98edd;
/* rgb */ color: rgb(217, 142, 221);
/* oklch */ color: oklch(74.9% 0.137 325.1);
Tailwind
colors: {
  custom: {
    50: '#e6b0e7',
    500: '#d98edd',
    950: '#000000',
  },
}
SCSS
$custom: #d98edd;
$custom-light: #e6b0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d98edd",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 296.962,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74902,
    "c": 0.13678,
    "h": 325.1
  },
  "luminance": 0.39318
}

Semantic roles & 50–950 ramp

primary
#D98EDD
secondary
#DAEED9
accent
#C1242C
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161116
muted
#848084

Preview Lab

Preview with #D98EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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