#D98EEF#D98EEF

#D98EEF is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.7% C 0.155 H 318.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D98EEF
RGBrgb(217, 142, 239)
HSLhsl(286, 75%, 75%)
HSVhsv(286, 41%, 94%)
CMYKcmyk(9.2%, 40.6%, 0%, 6.3%)
CIE-LABlab(69.70, 44.36, -37.53)
CIE-LCHlch(69.70, 58.10, 319.76°)
OKLaboklab(75.68% 0.1161 -0.1033)
OKLCHoklch(75.68% 0.155 318.3)
XYZxyz(53.8661, 40.3313, 86.5918)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EEF #A4EF8E
analogous
#A98EEF #D98EEF #EF8ED4
triadic
#D98EEF #EFD98E #8EEFD9
tetradic
#D98EEF #EFA98E #A4EF8E #8ED4EF
square
#D98EEF #EFA98E #A4EF8E #8ED4EF
split-complementary
#D98EEF #D4EF8E #8EEFA9
monochromatic
#B523E0 #C758E7 #D98EEF #EBC4F7 #F6E4FB

Accessibility & contrast

On white

2.32
#D98EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#D98EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EEF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EEF#FFFFFF#000000##000000
##D98EEF1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#D99AB3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d98eef;
/* rgb */ color: rgb(217, 142, 239);
/* oklch */ color: oklch(75.7% 0.155 318.3);
Tailwind
colors: {
  custom: {
    50: '#e6b0f4',
    500: '#d98eef',
    950: '#000000',
  },
}
SCSS
$custom: #d98eef;
$custom-light: #e6b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d98eef",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 286.392,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75683,
    "c": 0.1554,
    "h": 318.3
  },
  "luminance": 0.4033
}

Semantic roles & 50–950 ramp

primary
#D98EEF
secondary
#DEF3D8
accent
#D70E3C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D98EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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