#DF97D7#DF97D7

#DF97D7 is a light, moderate purple. Relative luminance 0.427; OKLCH L 76.8% C 0.119 H 330.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#DF97D7
RGBrgb(223, 151, 215)
HSLhsl(307, 53%, 73%)
HSVhsv(307, 32%, 87%)
CMYKcmyk(0%, 32.3%, 3.6%, 12.5%)
CIE-LABlab(71.37, 36.91, -21.72)
CIE-LCHlch(71.37, 42.83, 329.52°)
OKLaboklab(76.78% 0.104 -0.0586)
OKLCHoklch(76.78% 0.119 330.6)
XYZxyz(53.7630, 42.7297, 69.6925)
Luminance0.4273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97D7 #97DF9F
analogous
#C397DF #DF97D7 #DF97B3
triadic
#DF97D7 #D7DF97 #97D7DF
tetradic
#DF97D7 #DFC397 #97DF9F #97B3DF
square
#DF97D7 #DFC397 #97DF9F #97B3DF
split-complementary
#DF97D7 #B3DF97 #97DFC3
monochromatic
#C03BB2 #D168C5 #DF97D7 #EDC6E9 #F8E8F6

Accessibility & contrast

On white

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

On black

9.55
#DF97D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97D7
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97D7#FFFFFF#000000##000000
##DF97D71.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A9D9
Deuteranopia (green-blind)
#A6B2D5
Tritanopia (blue-blind)
#E59CAE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #df97d7;
/* rgb */ color: rgb(223, 151, 215);
/* oklch */ color: oklch(76.8% 0.119 330.6);
Tailwind
colors: {
  custom: {
    50: '#eab6e3',
    500: '#df97d7',
    950: '#000000',
  },
}
SCSS
$custom: #df97d7;
$custom-light: #eab6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#df97d7",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 215
  },
  "hsl": {
    "h": 306.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76783,
    "c": 0.11934,
    "h": 330.6
  },
  "luminance": 0.42727
}

Semantic roles & 50–950 ramp

primary
#DF97D7
secondary
#DCEFDE
accent
#C03625
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DF97D7

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

Preview Lab → · Contrast checker → · Palette generator →

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