#DF97DB#DF97DB

#DF97DB is a light, vivid purple. Relative luminance 0.429; OKLCH L 76.9% C 0.123 H 328.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#DF97DB
RGBrgb(223, 151, 219)
HSLhsl(303, 53%, 73%)
HSVhsv(303, 32%, 87%)
CMYKcmyk(0%, 32.3%, 1.8%, 12.5%)
CIE-LABlab(71.51, 37.63, -23.71)
CIE-LCHlch(71.51, 44.47, 327.79°)
OKLaboklab(76.94% 0.1051 -0.0641)
OKLCHoklch(76.94% 0.123 328.6)
XYZxyz(54.2832, 42.9378, 72.4325)
Luminance0.4294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97DB #97DF9B
analogous
#BF97DF #DF97DB #DF97B7
triadic
#DF97DB #DBDF97 #97DBDF
tetradic
#DF97DB #DFBF97 #97DF9B #97B7DF
square
#DF97DB #DFBF97 #97DF9B #97B7DF
split-complementary
#DF97DB #B7DF97 #97DFBF
monochromatic
#C03BB9 #D168CB #DF97DB #EDC6EB #F8E8F7

Accessibility & contrast

On white

2.19
#DF97DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#DF97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97DB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97DB#FFFFFF#000000##000000
##DF97DB1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DE
Deuteranopia (green-blind)
#A5B3D9
Tritanopia (blue-blind)
#E49CB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #df97db;
/* rgb */ color: rgb(223, 151, 219);
/* oklch */ color: oklch(76.9% 0.123 328.6);
Tailwind
colors: {
  custom: {
    50: '#eab6e6',
    500: '#df97db',
    950: '#000000',
  },
}
SCSS
$custom: #df97db;
$custom-light: #eab6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#df97db",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 303.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76937,
    "c": 0.1231,
    "h": 328.6
  },
  "luminance": 0.42936
}

Semantic roles & 50–950 ramp

primary
#DF97DB
secondary
#DCEFDD
accent
#C02E25
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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