#D98BEE#D98BEE

#D98BEE is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.2% C 0.159 H 318.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#D98BEE
RGBrgb(217, 139, 238)
HSLhsl(287, 74%, 74%)
HSVhsv(287, 42%, 93%)
CMYKcmyk(8.8%, 41.6%, 0%, 6.7%)
CIE-LABlab(69.03, 45.74, -38.03)
CIE-LCHlch(69.03, 59.48, 320.26°)
OKLaboklab(75.17% 0.1201 -0.1047)
OKLCHoklch(75.17% 0.159 318.9)
XYZxyz(53.2785, 39.3917, 85.6692)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98BEE #A0EE8B
analogous
#A88BEE #D98BEE #EE8BD2
triadic
#D98BEE #EED98B #8BEED9
tetradic
#D98BEE #EEA88B #A0EE8B #8BD2EE
square
#D98BEE #EEA88B #A0EE8B #8BD2EE
split-complementary
#D98BEE #D2EE8B #8BEEA8
monochromatic
#B621DE #C856E6 #D98BEE #EAC0F6 #F6E4FB

Accessibility & contrast

On white

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

On black

8.88
#D98BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98BEE
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98BEE#FFFFFF#000000##000000
##D98BEE1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#91ABEB
Tritanopia (blue-blind)
#DA98B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d98bee;
/* rgb */ color: rgb(217, 139, 238);
/* oklch */ color: oklch(75.2% 0.159 318.9);
Tailwind
colors: {
  custom: {
    50: '#e6aef4',
    500: '#d98bee',
    950: '#000000',
  },
}
SCSS
$custom: #d98bee;
$custom-light: #e6aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#d98bee",
  "rgb": {
    "r": 217,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 287.273,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75166,
    "c": 0.15937,
    "h": 318.9
  },
  "luminance": 0.3939
}

Semantic roles & 50–950 ramp

primary
#D98BEE
secondary
#DEF3D8
accent
#D70F39
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D98BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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