#D98EDA#D98EDA

#D98EDA is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.8% C 0.134 H 326.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D98EDA
RGBrgb(217, 142, 218)
HSLhsl(299, 51%, 71%)
HSVhsv(299, 35%, 85%)
CMYKcmyk(0.5%, 34.9%, 0%, 14.5%)
CIE-LABlab(68.87, 40.34, -27.26)
CIE-LCHlch(68.87, 48.68, 325.94°)
OKLaboklab(74.78% 0.1114 -0.0741)
OKLCHoklch(74.78% 0.134 326.4)
XYZxyz(50.9420, 39.1617, 71.1916)
Luminance0.3916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EDA #8FDA8E
analogous
#B38EDA #D98EDA #DA8EB5
triadic
#D98EDA #DAD98E #8EDAD9
tetradic
#D98EDA #DAB38E #8FDA8E #8EB5DA
square
#D98EDA #DAB38E #8FDA8E #8EB5DA
split-complementary
#D98EDA #B5DA8E #8EDAB3
monochromatic
#B13BB3 #C960CB #D98EDA #E9BCE9 #F7E8F7

Accessibility & contrast

On white

2.38
#D98EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#D98EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EDA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EDA#FFFFFF#000000##000000
##D98EDA1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DD
Deuteranopia (green-blind)
#9BABD7
Tritanopia (blue-blind)
#DD95AA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d98eda;
/* rgb */ color: rgb(217, 142, 218);
/* oklch */ color: oklch(74.8% 0.134 326.4);
Tailwind
colors: {
  custom: {
    50: '#e6b0e5',
    500: '#d98eda',
    950: '#000000',
  },
}
SCSS
$custom: #d98eda;
$custom-light: #e6b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d98eda",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 299.211,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74778,
    "c": 0.13382,
    "h": 326.4
  },
  "luminance": 0.3916
}

Semantic roles & 50–950 ramp

primary
#D98EDA
secondary
#D8ECD8
accent
#BE2729
background
#FEFAFE
surface
#FCF5FC
border
#D5CFD5
text
#161115
muted
#848084

Preview Lab

Preview with #D98EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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