#DF97DA#DF97DA

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

Color values

HEX#DF97DA
RGBrgb(223, 151, 218)
HSLhsl(304, 53%, 73%)
HSVhsv(304, 32%, 87%)
CMYKcmyk(0%, 32.3%, 2.2%, 12.5%)
CIE-LABlab(71.48, 37.45, -23.21)
CIE-LCHlch(71.48, 44.06, 328.21°)
OKLaboklab(76.9% 0.1048 -0.0627)
OKLCHoklch(76.9% 0.122 329.1)
XYZxyz(54.1520, 42.8853, 71.7413)
Luminance0.4288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97DA #97DF9C
analogous
#C097DF #DF97DA #DF97B6
triadic
#DF97DA #DADF97 #97DADF
tetradic
#DF97DA #DFC097 #97DF9C #97B6DF
square
#DF97DA #DFC097 #97DF9C #97B6DF
split-complementary
#DF97DA #B6DF97 #97DFC0
monochromatic
#C03BB7 #D168C9 #DF97DA #EDC6EB #F8E8F7

Accessibility & contrast

On white

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

On black

9.58
#DF97DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97DA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97DA#FFFFFF#000000##000000
##DF97DA1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A9DD
Deuteranopia (green-blind)
#A5B3D8
Tritanopia (blue-blind)
#E49CAF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #df97da;
/* rgb */ color: rgb(223, 151, 218);
/* oklch */ color: oklch(76.9% 0.122 329.1);
Tailwind
colors: {
  custom: {
    50: '#eab6e5',
    500: '#df97da',
    950: '#000000',
  },
}
SCSS
$custom: #df97da;
$custom-light: #eab6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#df97da",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 304.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76898,
    "c": 0.12215,
    "h": 329.1
  },
  "luminance": 0.42883
}

Semantic roles & 50–950 ramp

primary
#DF97DA
secondary
#DCEFDD
accent
#C03025
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161115
muted
#848084

Preview Lab

Preview with #DF97DA

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

Preview Lab → · Contrast checker → · Palette generator →

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