#D98BEC#D98BEC

#D98BEC is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.1% C 0.157 H 319.6°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#D98BEC
RGBrgb(217, 139, 236)
HSLhsl(288, 72%, 74%)
HSVhsv(288, 41%, 93%)
CMYKcmyk(8.1%, 41.1%, 0%, 7.5%)
CIE-LABlab(68.95, 45.34, -37.06)
CIE-LCHlch(68.95, 58.56, 320.74°)
OKLaboklab(75.08% 0.1197 -0.102)
OKLCHoklch(75.08% 0.157 319.6)
XYZxyz(52.9863, 39.2748, 84.1303)
Luminance0.3927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98BEC #9EEC8B
analogous
#A88BEC #D98BEC #EC8BCE
triadic
#D98BEC #ECD98B #8BECD9
tetradic
#D98BEC #ECA88B #9EEC8B #8BCEEC
square
#D98BEC #ECA88B #9EEC8B #8BCEEC
split-complementary
#D98BEC #CEEC8B #8BECA8
monochromatic
#B524D9 #C856E3 #D98BEC #EAC0F5 #F6E5FB

Accessibility & contrast

On white

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

On black

8.85
#D98BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98BEC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98BEC#FFFFFF#000000##000000
##D98BEC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F0
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#DA97B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d98bec;
/* rgb */ color: rgb(217, 139, 236);
/* oklch */ color: oklch(75.1% 0.157 319.6);
Tailwind
colors: {
  custom: {
    50: '#e6aef2',
    500: '#d98bec',
    950: '#000000',
  },
}
SCSS
$custom: #d98bec;
$custom-light: #e6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d98bec",
  "rgb": {
    "r": 217,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 288.247,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75075,
    "c": 0.15728,
    "h": 319.6
  },
  "luminance": 0.39273
}

Semantic roles & 50–950 ramp

primary
#D98BEC
secondary
#DEF2D9
accent
#D41238
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D98BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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