#DD97DF#DD97DF

#DD97DF is a light, vivid purple. Relative luminance 0.428; OKLCH L 76.9% C 0.126 H 325.8°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#DD97DF
RGBrgb(221, 151, 223)
HSLhsl(298, 53%, 73%)
HSVhsv(298, 32%, 87%)
CMYKcmyk(0.9%, 32.3%, 0%, 12.5%)
CIE-LABlab(71.44, 37.73, -26.03)
CIE-LCHlch(71.44, 45.84, 325.39°)
OKLaboklab(76.88% 0.1039 -0.0707)
OKLCHoklch(76.88% 0.126 325.8)
XYZxyz(54.2034, 42.8350, 75.2105)
Luminance0.4283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97DF #99DF97
analogous
#B997DF #DD97DF #DF97BD
triadic
#DD97DF #DFDD97 #97DFDD
tetradic
#DD97DF #DFB997 #99DF97 #97BDDF
square
#DD97DF #DFB997 #99DF97 #97BDDF
split-complementary
#DD97DF #BDDF97 #97DFB9
monochromatic
#BD3BC0 #CE68D1 #DD97DF #ECC6ED #F7E8F8

Accessibility & contrast

On white

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

On black

9.57
#DD97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97DF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97DF#FFFFFF#000000##000000
##DD97DF1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#A2B2DD
Tritanopia (blue-blind)
#E19EB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dd97df;
/* rgb */ color: rgb(221, 151, 223);
/* oklch */ color: oklch(76.9% 0.126 325.8);
Tailwind
colors: {
  custom: {
    50: '#e8b6e9',
    500: '#dd97df',
    950: '#000000',
  },
}
SCSS
$custom: #dd97df;
$custom-light: #e8b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97df",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 298.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76884,
    "c": 0.12564,
    "h": 325.8
  },
  "luminance": 0.42833
}

Semantic roles & 50–950 ramp

primary
#DD97DF
secondary
#DDEFDC
accent
#C02529
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DD97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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