#D98DEB#D98DEB

#D98DEB is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.3% C 0.153 H 319.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D98DEB
RGBrgb(217, 141, 235)
HSLhsl(289, 70%, 74%)
HSVhsv(289, 40%, 92%)
CMYKcmyk(7.7%, 40%, 0%, 7.8%)
CIE-LABlab(69.33, 44.10, -35.92)
CIE-LCHlch(69.33, 56.88, 320.83°)
OKLaboklab(75.35% 0.1167 -0.0987)
OKLCHoklch(75.35% 0.153 319.8)
XYZxyz(53.1336, 39.8013, 83.4647)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DEB #9FEB8D
analogous
#AA8DEB #D98DEB #EB8DCE
triadic
#D98DEB #EBD98D #8DEBD9
tetradic
#D98DEB #EBAA8D #9FEB8D #8DCEEB
square
#D98DEB #EBAA8D #9FEB8D #8DCEEB
split-complementary
#D98DEB #CEEB8D #8DEBAA
monochromatic
#B626D8 #C859E2 #D98DEB #EAC1F4 #F6E5FA

Accessibility & contrast

On white

2.34
#D98DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#D98DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DEB
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DEB#FFFFFF#000000##000000
##D98DEB1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#DA98B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d98deb;
/* rgb */ color: rgb(217, 141, 235);
/* oklch */ color: oklch(75.3% 0.153 319.8);
Tailwind
colors: {
  custom: {
    50: '#e6b0f1',
    500: '#d98deb',
    950: '#000000',
  },
}
SCSS
$custom: #d98deb;
$custom-light: #e6b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d98deb",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 288.511,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75345,
    "c": 0.15285,
    "h": 319.8
  },
  "luminance": 0.398
}

Semantic roles & 50–950 ramp

primary
#D98DEB
secondary
#DEF2D9
accent
#D21338
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #D98DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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