#DF97E7#DF97E7

#DF97E7 is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.4% C 0.135 H 323.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#DF97E7
RGBrgb(223, 151, 231)
HSLhsl(294, 63%, 75%)
HSVhsv(294, 35%, 91%)
CMYKcmyk(3.5%, 34.6%, 0%, 9.4%)
CIE-LABlab(71.96, 39.85, -29.61)
CIE-LCHlch(71.96, 49.65, 323.38°)
OKLaboklab(77.42% 0.1082 -0.0807)
OKLCHoklch(77.42% 0.135 323.3)
XYZxyz(55.9203, 43.5926, 81.0544)
Luminance0.4359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97E7 #9FE797
analogous
#B797E7 #DF97E7 #E797C7
triadic
#DF97E7 #E7DF97 #97E7DF
tetradic
#DF97E7 #E7B797 #9FE797 #97C7E7
square
#DF97E7 #E7B797 #9FE797 #97C7E7
split-complementary
#DF97E7 #C7E797 #97E7B7
monochromatic
#C034D0 #D065DC #DF97E7 #EEC9F2 #F7E6F9

Accessibility & contrast

On white

2.16
#DF97E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#DF97E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97E7
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97E7#FFFFFF#000000##000000
##DF97E71.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FABEA
Deuteranopia (green-blind)
#A1B3E4
Tritanopia (blue-blind)
#E29FB5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df97e7;
/* rgb */ color: rgb(223, 151, 231);
/* oklch */ color: oklch(77.4% 0.135 323.3);
Tailwind
colors: {
  custom: {
    50: '#eab6ee',
    500: '#df97e7',
    950: '#000000',
  },
}
SCSS
$custom: #df97e7;
$custom-light: #eab6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#df97e7",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 294,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77418,
    "c": 0.13498,
    "h": 323.3
  },
  "luminance": 0.43591
}

Semantic roles & 50–950 ramp

primary
#DF97E7
secondary
#DDF1DA
accent
#CA1B2D
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF97E7

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

Preview Lab → · Contrast checker → · Palette generator →

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