#D97DDE#D97DDE

#D97DDE is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.167 H 325.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D97DDE
RGBrgb(217, 125, 222)
HSLhsl(297, 60%, 68%)
HSVhsv(297, 44%, 87%)
CMYKcmyk(2.3%, 43.7%, 0%, 12.9%)
CIE-LABlab(65.51, 49.94, -34.67)
CIE-LCHlch(65.51, 60.80, 325.23°)
OKLaboklab(72.31% 0.137 -0.095)
OKLCHoklch(72.31% 0.167 325.2)
XYZxyz(49.1326, 34.6951, 73.2019)
Luminance0.3469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DDE #82DE7D
analogous
#A87DDE #D97DDE #DE7DB2
triadic
#D97DDE #DED97D #7DDED9
tetradic
#D97DDE #DEA87D #82DE7D #7DB2DE
square
#D97DDE #DEA87D #82DE7D #7DB2DE
split-complementary
#D97DDE #B2DE7D #7DDEA8
monochromatic
#AC2DB3 #CB4CD2 #D97DDE #E7AEEA #F6DFF7

Accessibility & contrast

On white

2.65
#D97DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D97DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DDE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DDE#FFFFFF#000000##000000
##D97DDE1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E1
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#DD88A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97dde;
/* rgb */ color: rgb(217, 125, 222);
/* oklch */ color: oklch(72.3% 0.167 325.2);
Tailwind
colors: {
  custom: {
    50: '#e6a5e8',
    500: '#d97dde',
    950: '#000000',
  },
}
SCSS
$custom: #d97dde;
$custom-light: #e6a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dde",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 296.907,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7231,
    "c": 0.16672,
    "h": 325.2
  },
  "luminance": 0.34693
}

Semantic roles & 50–950 ramp

primary
#D97DDE
secondary
#CEEACD
accent
#C71E27
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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