#DF97ED#DF97ED

#DF97ED is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.7% C 0.141 H 320.9°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#DF97ED
RGBrgb(223, 151, 237)
HSLhsl(290, 70%, 76%)
HSVhsv(290, 36%, 93%)
CMYKcmyk(5.9%, 36.3%, 0%, 7.1%)
CIE-LABlab(72.19, 40.99, -32.54)
CIE-LCHlch(72.19, 52.34, 321.56°)
OKLaboklab(77.67% 0.1096 -0.089)
OKLCHoklch(77.67% 0.141 320.9)
XYZxyz(56.7822, 43.9374, 85.5940)
Luminance0.4394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97ED #A5ED97
analogous
#B497ED #DF97ED #ED97D0
triadic
#DF97ED #EDDF97 #97EDDF
tetradic
#DF97ED #EDB497 #A5ED97 #97D0ED
square
#DF97ED #EDB497 #A5ED97 #97D0ED
split-complementary
#DF97ED #D0ED97 #97EDB4
monochromatic
#BF2FDB #CF63E4 #DF97ED #EFCBF6 #F7E5FA

Accessibility & contrast

On white

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

On black

9.79
#DF97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97ED
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97ED#FFFFFF#000000##000000
##DF97ED1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df97ed;
/* rgb */ color: rgb(223, 151, 237);
/* oklch */ color: oklch(77.7% 0.141 320.9);
Tailwind
colors: {
  custom: {
    50: '#eab7f3',
    500: '#df97ed',
    950: '#000000',
  },
}
SCSS
$custom: #df97ed;
$custom-light: #eab7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#df97ed",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 290.233,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77669,
    "c": 0.14119,
    "h": 320.9
  },
  "luminance": 0.43936
}

Semantic roles & 50–950 ramp

primary
#DF97ED
secondary
#DDF2D9
accent
#D31332
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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