#D98ECE#D98ECE

#D98ECE is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.3% C 0.123 H 332.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#D98ECE
RGBrgb(217, 142, 206)
HSLhsl(309, 50%, 70%)
HSVhsv(309, 35%, 85%)
CMYKcmyk(0%, 34.6%, 5.1%, 14.9%)
CIE-LABlab(68.43, 38.17, -21.28)
CIE-LCHlch(68.43, 43.70, 330.85°)
OKLaboklab(74.3% 0.1083 -0.0573)
OKLCHoklch(74.3% 0.123 332.1)
XYZxyz(49.4283, 38.5562, 63.2190)
Luminance0.3855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98ECE #8ED999
analogous
#BE8ED9 #D98ECE #D98EA8
triadic
#D98ECE #CED98E #8ECED9
tetradic
#D98ECE #D9BE8E #8ED999 #8EA8D9
square
#D98ECE #D9BE8E #8ED999 #8EA8D9
split-complementary
#D98ECE #A8D98E #8ED9BE
monochromatic
#B13CA0 #CA60BA #D98ECE #E8BCE2 #F7E8F5

Accessibility & contrast

On white

2.41
#D98ECE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#D98ECE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98ECE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98ECE#FFFFFF#000000##000000
##D98ECE1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0D0
Deuteranopia (green-blind)
#9FABCC
Tritanopia (blue-blind)
#DF92A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98ece;
/* rgb */ color: rgb(217, 142, 206);
/* oklch */ color: oklch(74.3% 0.123 332.1);
Tailwind
colors: {
  custom: {
    50: '#e6b0dd',
    500: '#d98ece',
    950: '#000000',
  },
}
SCSS
$custom: #d98ece;
$custom-light: #e6b0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ece",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 206
  },
  "hsl": {
    "h": 308.8,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.743,
    "c": 0.12252,
    "h": 332.1
  },
  "luminance": 0.38554
}

Semantic roles & 50–950 ramp

primary
#D98ECE
secondary
#D7ECDA
accent
#BD3E29
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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