#D97ECE#D97ECE

#D97ECE is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.8% C 0.150 H 331.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D97ECE
RGBrgb(217, 126, 206)
HSLhsl(307, 54%, 67%)
HSVhsv(307, 42%, 85%)
CMYKcmyk(0%, 41.9%, 5.1%, 14.9%)
CIE-LABlab(65.07, 46.56, -26.43)
CIE-LCHlch(65.07, 53.54, 330.42°)
OKLaboklab(71.77% 0.1322 -0.0716)
OKLCHoklch(71.77% 0.15 331.5)
XYZxyz(47.2163, 34.1322, 62.4817)
Luminance0.3413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97ECE #7ED989
analogous
#B77ED9 #D97ECE #D97EA0
triadic
#D97ECE #CED97E #7ECED9
tetradic
#D97ECE #D9B77E #7ED989 #7EA0D9
square
#D97ECE #D9B77E #7ED989 #7EA0D9
split-complementary
#D97ECE #A0D97E #7ED9B7
monochromatic
#AA329C #CB4FBC #D97ECE #E7ADE0 #F5DDF2

Accessibility & contrast

On white

2.68
#D97ECE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D97ECE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97ECE
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97ECE#FFFFFF#000000##000000
##D97ECE1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D1
Deuteranopia (green-blind)
#93A3CB
Tritanopia (blue-blind)
#E0849D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97ece;
/* rgb */ color: rgb(217, 126, 206);
/* oklch */ color: oklch(71.8% 0.150 331.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5dd',
    500: '#d97ece',
    950: '#000000',
  },
}
SCSS
$custom: #d97ece;
$custom-light: #e6a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ece",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 206
  },
  "hsl": {
    "h": 307.253,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71767,
    "c": 0.15034,
    "h": 331.5
  },
  "luminance": 0.3413
}

Semantic roles & 50–950 ramp

primary
#D97ECE
secondary
#CBE8CF
accent
#C23724
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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