#D98EEC#D98EEC

#D98EEC is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.5% C 0.152 H 319.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#D98EEC
RGBrgb(217, 142, 236)
HSLhsl(288, 71%, 74%)
HSVhsv(288, 40%, 93%)
CMYKcmyk(8.1%, 39.8%, 0%, 7.5%)
CIE-LABlab(69.58, 43.76, -36.08)
CIE-LCHlch(69.58, 56.72, 320.50°)
OKLaboklab(75.55% 0.1155 -0.0992)
OKLCHoklch(75.55% 0.152 319.3)
XYZxyz(53.4266, 40.1555, 84.2771)
Luminance0.4015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EEC #A1EC8E
analogous
#AA8EEC #D98EEC #EC8ED0
triadic
#D98EEC #ECD98E #8EECD9
tetradic
#D98EEC #ECAA8E #A1EC8E #8ED0EC
square
#D98EEC #ECAA8E #A1EC8E #8ED0EC
split-complementary
#D98EEC #D0EC8E #8EECAA
monochromatic
#B625DA #C75AE3 #D98EEC #EBC2F5 #F6E5FB

Accessibility & contrast

On white

2.33
#D98EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#D98EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EEC
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EEC#FFFFFF#000000##000000
##D98EEC1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#94ADE9
Tritanopia (blue-blind)
#DA9AB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d98eec;
/* rgb */ color: rgb(217, 142, 236);
/* oklch */ color: oklch(75.5% 0.152 319.3);
Tailwind
colors: {
  custom: {
    50: '#e6b0f2',
    500: '#d98eec',
    950: '#000000',
  },
}
SCSS
$custom: #d98eec;
$custom-light: #e6b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d98eec",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 287.872,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75548,
    "c": 0.15221,
    "h": 319.3
  },
  "luminance": 0.40154
}

Semantic roles & 50–950 ramp

primary
#D98EEC
secondary
#DEF2D9
accent
#D31239
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161117
muted
#848085

Preview Lab

Preview with #D98EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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