#DD97EE#DD97EE

#DD97EE is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.5% C 0.141 H 319.6°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#DD97EE
RGBrgb(221, 151, 238)
HSLhsl(288, 72%, 76%)
HSVhsv(288, 37%, 93%)
CMYKcmyk(7.1%, 36.6%, 0%, 6.7%)
CIE-LABlab(72.01, 40.58, -33.37)
CIE-LCHlch(72.01, 52.54, 320.57°)
OKLaboklab(77.5% 0.1075 -0.0914)
OKLCHoklch(77.5% 0.141 319.6)
XYZxyz(56.3160, 43.6801, 86.3369)
Luminance0.4368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97EE #A8EE97
analogous
#B297EE #DD97EE #EE97D4
triadic
#DD97EE #EEDD97 #97EEDD
tetradic
#DD97EE #EEB297 #A8EE97 #97D4EE
square
#DD97EE #EEB297 #A8EE97 #97D4EE
split-complementary
#DD97EE #D4EE97 #97EEB2
monochromatic
#BB2EDD #CC62E5 #DD97EE #EECCF7 #F6E5FB

Accessibility & contrast

On white

2.16
#DD97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#DD97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97EE
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97EE#FFFFFF#000000##000000
##DD97EE1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF1
Deuteranopia (green-blind)
#9DB3EB
Tritanopia (blue-blind)
#DEA1B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dd97ee;
/* rgb */ color: rgb(221, 151, 238);
/* oklch */ color: oklch(77.5% 0.141 319.6);
Tailwind
colors: {
  custom: {
    50: '#e9b6f3',
    500: '#dd97ee',
    950: '#000000',
  },
}
SCSS
$custom: #dd97ee;
$custom-light: #e9b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97ee",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 288.276,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77504,
    "c": 0.14114,
    "h": 319.6
  },
  "luminance": 0.43678
}

Semantic roles & 50–950 ramp

primary
#DD97EE
secondary
#DEF2D9
accent
#D41238
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DD97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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