#DF97EB#DF97EB

#DF97EB is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.6% C 0.139 H 321.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#DF97EB
RGBrgb(223, 151, 235)
HSLhsl(291, 68%, 76%)
HSVhsv(291, 36%, 92%)
CMYKcmyk(5.1%, 35.7%, 0%, 7.8%)
CIE-LABlab(72.11, 40.61, -31.56)
CIE-LCHlch(72.11, 51.43, 322.14°)
OKLaboklab(77.59% 0.1091 -0.0863)
OKLCHoklch(77.59% 0.139 321.7)
XYZxyz(56.4917, 43.8212, 84.0637)
Luminance0.4382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97EB #A3EB97
analogous
#B597EB #DF97EB #EB97CD
triadic
#DF97EB #EBDF97 #97EBDF
tetradic
#DF97EB #EBB597 #A3EB97 #97CDEB
square
#DF97EB #EBB597 #A3EB97 #97CDEB
split-complementary
#DF97EB #CDEB97 #97EBB5
monochromatic
#BF30D7 #CF64E1 #DF97EB #EFCAF5 #F7E5FA

Accessibility & contrast

On white

2.15
#DF97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#DF97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97EB
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97EB#FFFFFF#000000##000000
##DF97EB1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEE
Deuteranopia (green-blind)
#9FB4E8
Tritanopia (blue-blind)
#E1A0B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df97eb;
/* rgb */ color: rgb(223, 151, 235);
/* oklch */ color: oklch(77.6% 0.139 321.7);
Tailwind
colors: {
  custom: {
    50: '#eab7f1',
    500: '#df97eb',
    950: '#000000',
  },
}
SCSS
$custom: #df97eb;
$custom-light: #eab7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#df97eb",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 291.429,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77585,
    "c": 0.1391,
    "h": 321.7
  },
  "luminance": 0.43819
}

Semantic roles & 50–950 ramp

primary
#DF97EB
secondary
#DDF2D9
accent
#D01630
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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