#DD97DB#DD97DB

#DD97DB is a light, vivid purple. Relative luminance 0.426; OKLCH L 76.7% C 0.122 H 327.7°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#DD97DB
RGBrgb(221, 151, 219)
HSLhsl(302, 51%, 73%)
HSVhsv(302, 32%, 87%)
CMYKcmyk(0%, 31.7%, 0.9%, 13.3%)
CIE-LABlab(71.30, 36.99, -24.05)
CIE-LCHlch(71.30, 44.12, 326.96°)
OKLaboklab(76.73% 0.1028 -0.0651)
OKLCHoklch(76.73% 0.122 327.7)
XYZxyz(53.6705, 42.6219, 72.4038)
Luminance0.4262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97DB #97DD99
analogous
#BC97DD #DD97DB #DD97B8
triadic
#DD97DB #DBDD97 #97DBDD
tetradic
#DD97DB #DDBC97 #97DD99 #97B8DD
square
#DD97DB #DDBC97 #97DD99 #97B8DD
split-complementary
#DD97DB #B8DD97 #97DDBC
monochromatic
#BC3DB8 #CE69CB #DD97DB #ECC5EB #F7E8F7

Accessibility & contrast

On white

2.20
#DD97DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#DD97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97DB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97DB#FFFFFF#000000##000000
##DD97DB1.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DE
Deuteranopia (green-blind)
#A4B2D9
Tritanopia (blue-blind)
#E29DB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dd97db;
/* rgb */ color: rgb(221, 151, 219);
/* oklch */ color: oklch(76.7% 0.122 327.7);
Tailwind
colors: {
  custom: {
    50: '#e8b6e6',
    500: '#dd97db',
    950: '#000000',
  },
}
SCSS
$custom: #dd97db;
$custom-light: #e8b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97db",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 301.714,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76726,
    "c": 0.12171,
    "h": 327.7
  },
  "luminance": 0.4262
}

Semantic roles & 50–950 ramp

primary
#DD97DB
secondary
#DCEFDD
accent
#BE2C27
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DD97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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