#DF97FB#DF97FB

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

Color values

HEX#DF97FB
RGBrgb(223, 151, 251)
HSLhsl(283, 93%, 79%)
HSVhsv(283, 40%, 98%)
CMYKcmyk(11.2%, 39.8%, 0%, 1.6%)
CIE-LABlab(72.75, 43.75, -39.28)
CIE-LCHlch(72.75, 58.80, 318.08°)
OKLaboklab(78.28% 0.1125 -0.1083)
OKLCHoklch(78.28% 0.156 316.1)
XYZxyz(58.9080, 44.7877, 96.7898)
Luminance0.4479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97FB #B3FB97
analogous
#AD97FB #DF97FB #FB97E5
triadic
#DF97FB #FBDF97 #97FBDF
tetradic
#DF97FB #FBAD97 #B3FB97 #97E5FB
square
#DF97FB #FBAD97 #B3FB97 #97E5FB
split-complementary
#DF97FB #E5FB97 #97FBAD
monochromatic
#BB21F6 #CD5CF9 #DF97FB #F1D2FD #F6E2FE

Accessibility & contrast

On white

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

On black

9.96
#DF97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97FB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97FB#FFFFFF#000000##000000
##DF97FB1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#DEA4BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df97fb;
/* rgb */ color: rgb(223, 151, 251);
/* oklch */ color: oklch(78.3% 0.156 316.1);
Tailwind
colors: {
  custom: {
    50: '#eab7fd',
    500: '#df97fb',
    950: '#000000',
  },
}
SCSS
$custom: #df97fb;
$custom-light: #eab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df97fb",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 283.2,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78281,
    "c": 0.15619,
    "h": 316.1
  },
  "luminance": 0.44786
}

Semantic roles & 50–950 ramp

primary
#DF97FB
secondary
#DEF6D5
accent
#E60040
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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