#DF97F9#DF97F9

#DF97F9 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.2% C 0.154 H 316.7°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#DF97F9
RGBrgb(223, 151, 249)
HSLhsl(284, 89%, 78%)
HSVhsv(284, 39%, 98%)
CMYKcmyk(10.4%, 39.4%, 0%, 2.4%)
CIE-LABlab(72.67, 43.35, -38.33)
CIE-LCHlch(72.67, 57.86, 318.52°)
OKLaboklab(78.19% 0.1121 -0.1056)
OKLCHoklch(78.19% 0.154 316.7)
XYZxyz(58.5944, 44.6623, 95.1382)
Luminance0.4466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97F9 #B1F997
analogous
#AE97F9 #DF97F9 #F997E2
triadic
#DF97F9 #F9DF97 #97F9DF
tetradic
#DF97F9 #F9AE97 #B1F997 #97E2F9
square
#DF97F9 #F9AE97 #B1F997 #97E2F9
split-complementary
#DF97F9 #E2F997 #97F9AE
monochromatic
#BB23F2 #CD5DF6 #DF97F9 #F1D1FC #F6E2FD

Accessibility & contrast

On white

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

On black

9.93
#DF97F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97F9
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97F9#FFFFFF#000000##000000
##DF97F91.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFD
Deuteranopia (green-blind)
#9AB5F6
Tritanopia (blue-blind)
#DEA4BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df97f9;
/* rgb */ color: rgb(223, 151, 249);
/* oklch */ color: oklch(78.2% 0.154 316.7);
Tailwind
colors: {
  custom: {
    50: '#eab7fb',
    500: '#df97f9',
    950: '#000000',
  },
}
SCSS
$custom: #df97f9;
$custom-light: #eab7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df97f9",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 284.082,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78191,
    "c": 0.15401,
    "h": 316.7
  },
  "luminance": 0.44661
}

Semantic roles & 50–950 ramp

primary
#DF97F9
secondary
#DEF5D6
accent
#E6003D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF97F9

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

Preview Lab → · Contrast checker → · Palette generator →

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