#DF97D5#DF97D5

#DF97D5 is a light, moderate purple. Relative luminance 0.426; OKLCH L 76.7% C 0.118 H 331.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#DF97D5
RGBrgb(223, 151, 213)
HSLhsl(308, 53%, 73%)
HSVhsv(308, 32%, 87%)
CMYKcmyk(0%, 32.3%, 4.5%, 12.5%)
CIE-LABlab(71.30, 36.55, -20.73)
CIE-LCHlch(71.30, 42.02, 330.45°)
OKLaboklab(76.71% 0.1034 -0.0558)
OKLCHoklch(76.71% 0.118 331.7)
XYZxyz(53.5075, 42.6275, 68.3473)
Luminance0.4263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97D5 #97DFA1
analogous
#C597DF #DF97D5 #DF97B1
triadic
#DF97D5 #D5DF97 #97D5DF
tetradic
#DF97D5 #DFC597 #97DFA1 #97B1DF
square
#DF97D5 #DFC597 #97DFA1 #97B1DF
split-complementary
#DF97D5 #B1DF97 #97DFC5
monochromatic
#C03BAE #D168C2 #DF97D5 #EDC6E8 #F8E8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF97D5#FFFFFF#000000##000000
##DF97D51.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)
#95A8D7
Deuteranopia (green-blind)
#A7B2D3
Tritanopia (blue-blind)
#E59BAD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #df97d5;
/* rgb */ color: rgb(223, 151, 213);
/* oklch */ color: oklch(76.7% 0.118 331.7);
Tailwind
colors: {
  custom: {
    50: '#eab6e2',
    500: '#df97d5',
    950: '#000000',
  },
}
SCSS
$custom: #df97d5;
$custom-light: #eab6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#df97d5",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 213
  },
  "hsl": {
    "h": 308.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76707,
    "c": 0.11751,
    "h": 331.7
  },
  "luminance": 0.42625
}

Semantic roles & 50–950 ramp

primary
#DF97D5
secondary
#DCEFDF
accent
#C03B25
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DF97D5

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

Preview Lab → · Contrast checker → · Palette generator →

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