#DF97EC#DF97EC

#DF97EC is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.6% C 0.140 H 321.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#DF97EC
RGBrgb(223, 151, 236)
HSLhsl(291, 69%, 76%)
HSVhsv(291, 36%, 93%)
CMYKcmyk(5.5%, 36%, 0%, 7.5%)
CIE-LABlab(72.15, 40.80, -32.05)
CIE-LCHlch(72.15, 51.89, 321.85°)
OKLaboklab(77.63% 0.1093 -0.0877)
OKLCHoklch(77.63% 0.14 321.3)
XYZxyz(56.6365, 43.8791, 84.8267)
Luminance0.4388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97EC #A4EC97
analogous
#B497EC #DF97EC #EC97CE
triadic
#DF97EC #ECDF97 #97ECDF
tetradic
#DF97EC #ECB497 #A4EC97 #97CEEC
square
#DF97EC #ECB497 #A4EC97 #97CEEC
split-complementary
#DF97EC #CEEC97 #97ECB4
monochromatic
#BF30D9 #CF63E3 #DF97EC #EFCBF5 #F7E5FA

Accessibility & contrast

On white

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

On black

9.78
#DF97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97EC
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97EC#FFFFFF#000000##000000
##DF97EC1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#9FB4E9
Tritanopia (blue-blind)
#E1A1B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df97ec;
/* rgb */ color: rgb(223, 151, 236);
/* oklch */ color: oklch(77.6% 0.140 321.3);
Tailwind
colors: {
  custom: {
    50: '#eab7f2',
    500: '#df97ec',
    950: '#000000',
  },
}
SCSS
$custom: #df97ec;
$custom-light: #eab7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df97ec",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 290.824,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77627,
    "c": 0.14014,
    "h": 321.3
  },
  "luminance": 0.43877
}

Semantic roles & 50–950 ramp

primary
#DF97EC
secondary
#DDF2D9
accent
#D11431
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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