#DF97DD#DF97DD

#DF97DD is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.0% C 0.125 H 327.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#DF97DD
RGBrgb(223, 151, 221)
HSLhsl(302, 53%, 73%)
HSVhsv(302, 32%, 87%)
CMYKcmyk(0%, 32.3%, 0.9%, 12.5%)
CIE-LABlab(71.58, 37.99, -24.70)
CIE-LCHlch(71.58, 45.31, 326.97°)
OKLaboklab(77.02% 0.1056 -0.0669)
OKLCHoklch(77.02% 0.125 327.6)
XYZxyz(54.5481, 43.0437, 73.8275)
Luminance0.4304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97DD #97DF99
analogous
#BD97DF #DF97DD #DF97B9
triadic
#DF97DD #DDDF97 #97DDDF
tetradic
#DF97DD #DFBD97 #97DF99 #97B9DF
square
#DF97DD #DFBD97 #97DF99 #97B9DF
split-complementary
#DF97DD #B9DF97 #97DFBD
monochromatic
#C03BBD #D168CE #DF97DD #EDC6EC #F8E8F7

Accessibility & contrast

On white

2.19
#DF97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#DF97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97DD
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97DD#FFFFFF#000000##000000
##DF97DD1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AAE0
Deuteranopia (green-blind)
#A4B3DB
Tritanopia (blue-blind)
#E49DB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #df97dd;
/* rgb */ color: rgb(223, 151, 221);
/* oklch */ color: oklch(77.0% 0.125 327.6);
Tailwind
colors: {
  custom: {
    50: '#eab6e7',
    500: '#df97dd',
    950: '#000000',
  },
}
SCSS
$custom: #df97dd;
$custom-light: #eab6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#df97dd",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 301.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77015,
    "c": 0.12502,
    "h": 327.6
  },
  "luminance": 0.43042
}

Semantic roles & 50–950 ramp

primary
#DF97DD
secondary
#DCEFDD
accent
#C02925
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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