#DF97FD#DF97FD

#DF97FD is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.4% C 0.158 H 315.5°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#DF97FD
RGBrgb(223, 151, 253)
HSLhsl(282, 96%, 79%)
HSVhsv(282, 40%, 99%)
CMYKcmyk(11.9%, 40.3%, 0%, 0.8%)
CIE-LABlab(72.84, 44.15, -40.24)
CIE-LCHlch(72.84, 59.74, 317.66°)
OKLaboklab(78.37% 0.1129 -0.111)
OKLCHoklch(78.37% 0.158 315.5)
XYZxyz(59.2249, 44.9145, 98.4590)
Luminance0.4491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97FD #B5FD97
analogous
#AC97FD #DF97FD #FD97E8
triadic
#DF97FD #FDDF97 #97FDDF
tetradic
#DF97FD #FDAC97 #B5FD97 #97E8FD
square
#DF97FD #FDAC97 #B5FD97 #97E8FD
split-complementary
#DF97FD #E8FD97 #97FDAC
monochromatic
#BA1FFB #CD5BFC #DF97FD #F1D3FE #F6E1FE

Accessibility & contrast

On white

2.10
#DF97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#DF97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97FD
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97FD#FFFFFF#000000##000000
##DF97FD1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#98B5FA
Tritanopia (blue-blind)
#DEA5BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #df97fd;
/* rgb */ color: rgb(223, 151, 253);
/* oklch */ color: oklch(78.4% 0.158 315.5);
Tailwind
colors: {
  custom: {
    50: '#eab7fe',
    500: '#df97fd',
    950: '#000000',
  },
}
SCSS
$custom: #df97fd;
$custom-light: #eab7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df97fd",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 282.353,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78371,
    "c": 0.15837,
    "h": 315.5
  },
  "luminance": 0.44913
}

Semantic roles & 50–950 ramp

primary
#DF97FD
secondary
#DEF7D4
accent
#E60043
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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