#DF97EE#DF97EE

#DF97EE is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.7% C 0.142 H 320.5°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#DF97EE
RGBrgb(223, 151, 238)
HSLhsl(290, 72%, 76%)
HSVhsv(290, 37%, 93%)
CMYKcmyk(6.3%, 36.6%, 0%, 6.7%)
CIE-LABlab(72.23, 41.19, -33.02)
CIE-LCHlch(72.23, 52.79, 321.28°)
OKLaboklab(77.71% 0.1098 -0.0904)
OKLCHoklch(77.71% 0.142 320.5)
XYZxyz(56.9287, 43.9960, 86.3656)
Luminance0.4399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97EE #A6EE97
analogous
#B497EE #DF97EE #EE97D2
triadic
#DF97EE #EEDF97 #97EEDF
tetradic
#DF97EE #EEB497 #A6EE97 #97D2EE
square
#DF97EE #EEB497 #A6EE97 #97D2EE
split-complementary
#DF97EE #D2EE97 #97EEB4
monochromatic
#BF2EDD #CF62E5 #DF97EE #EFCCF7 #F7E5FB

Accessibility & contrast

On white

2.14
#DF97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#DF97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97EE
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97EE#FFFFFF#000000##000000
##DF97EE1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF1
Deuteranopia (green-blind)
#9EB4EB
Tritanopia (blue-blind)
#E1A1B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df97ee;
/* rgb */ color: rgb(223, 151, 238);
/* oklch */ color: oklch(77.7% 0.142 320.5);
Tailwind
colors: {
  custom: {
    50: '#eab7f3',
    500: '#df97ee',
    950: '#000000',
  },
}
SCSS
$custom: #df97ee;
$custom-light: #eab7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#df97ee",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 289.655,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77711,
    "c": 0.14224,
    "h": 320.5
  },
  "luminance": 0.43994
}

Semantic roles & 50–950 ramp

primary
#DF97EE
secondary
#DDF2D9
accent
#D41233
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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