#DD97DC#DD97DC

#DD97DC is a light, vivid purple. Relative luminance 0.427; OKLCH L 76.8% C 0.123 H 327.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#DD97DC
RGBrgb(221, 151, 220)
HSLhsl(301, 51%, 73%)
HSVhsv(301, 32%, 87%)
CMYKcmyk(0%, 31.7%, 0.5%, 13.3%)
CIE-LABlab(71.33, 37.17, -24.55)
CIE-LCHlch(71.33, 44.55, 326.56°)
OKLaboklab(76.77% 0.1031 -0.0665)
OKLCHoklch(76.77% 0.123 327.2)
XYZxyz(53.8025, 42.6747, 73.0992)
Luminance0.4267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97DC #97DD98
analogous
#BB97DD #DD97DC #DD97B9
triadic
#DD97DC #DCDD97 #97DCDD
tetradic
#DD97DC #DDBB97 #97DD98 #97B9DD
square
#DD97DC #DDBB97 #97DD98 #97B9DD
split-complementary
#DD97DC #B9DD97 #97DDBB
monochromatic
#BC3DBA #CE69CC #DD97DC #ECC5EC #F7E8F7

Accessibility & contrast

On white

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

On black

9.53
#DD97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97DC
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97DC#FFFFFF#000000##000000
##DD97DC1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9DF
Deuteranopia (green-blind)
#A4B2DA
Tritanopia (blue-blind)
#E19DB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dd97dc;
/* rgb */ color: rgb(221, 151, 220);
/* oklch */ color: oklch(76.8% 0.123 327.2);
Tailwind
colors: {
  custom: {
    50: '#e8b6e7',
    500: '#dd97dc',
    950: '#000000',
  },
}
SCSS
$custom: #dd97dc;
$custom-light: #e8b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97dc",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 300.857,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76765,
    "c": 0.12268,
    "h": 327.2
  },
  "luminance": 0.42673
}

Semantic roles & 50–950 ramp

primary
#DD97DC
secondary
#DCEFDD
accent
#BE2A27
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DD97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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