#DF97FC#DF97FC

#DF97FC is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.3% C 0.157 H 315.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#DF97FC
RGBrgb(223, 151, 252)
HSLhsl(283, 94%, 79%)
HSVhsv(283, 40%, 99%)
CMYKcmyk(11.5%, 40.1%, 0%, 1.2%)
CIE-LABlab(72.79, 43.95, -39.76)
CIE-LCHlch(72.79, 59.27, 317.87°)
OKLaboklab(78.33% 0.1127 -0.1097)
OKLCHoklch(78.33% 0.157 315.8)
XYZxyz(59.0661, 44.8509, 97.6222)
Luminance0.4485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97FC #B4FC97
analogous
#AD97FC #DF97FC #FC97E7
triadic
#DF97FC #FCDF97 #97FCDF
tetradic
#DF97FC #FCAD97 #B4FC97 #97E7FC
square
#DF97FC #FCAD97 #B4FC97 #97E7FC
split-complementary
#DF97FC #E7FC97 #97FCAD
monochromatic
#BA20F9 #CD5CFA #DF97FC #F1D2FE #F6E1FE

Accessibility & contrast

On white

2.11
#DF97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#DF97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97FC
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97FC#FFFFFF#000000##000000
##DF97FC1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df97fc;
/* rgb */ color: rgb(223, 151, 252);
/* oklch */ color: oklch(78.3% 0.157 315.8);
Tailwind
colors: {
  custom: {
    50: '#eab7fd',
    500: '#df97fc',
    950: '#000000',
  },
}
SCSS
$custom: #df97fc;
$custom-light: #eab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df97fc",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 282.772,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78326,
    "c": 0.15728,
    "h": 315.8
  },
  "luminance": 0.44849
}

Semantic roles & 50–950 ramp

primary
#DF97FC
secondary
#DEF6D5
accent
#E60042
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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