#DF97DC#DF97DC

#DF97DC is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.0% C 0.124 H 328.1°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#DF97DC
RGBrgb(223, 151, 220)
HSLhsl(303, 53%, 73%)
HSVhsv(303, 32%, 87%)
CMYKcmyk(0%, 32.3%, 1.3%, 12.5%)
CIE-LABlab(71.55, 37.81, -24.20)
CIE-LCHlch(71.55, 44.89, 327.38°)
OKLaboklab(76.98% 0.1054 -0.0655)
OKLCHoklch(76.98% 0.124 328.1)
XYZxyz(54.4153, 42.9906, 73.1279)
Luminance0.4299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97DC #97DF9A
analogous
#BE97DF #DF97DC #DF97B8
triadic
#DF97DC #DCDF97 #97DCDF
tetradic
#DF97DC #DFBE97 #97DF9A #97B8DF
square
#DF97DC #DFBE97 #97DF9A #97B8DF
split-complementary
#DF97DC #B8DF97 #97DFBE
monochromatic
#C03BBB #D168CC #DF97DC #EDC6EC #F8E8F7

Accessibility & contrast

On white

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

On black

9.60
#DF97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97DC
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97DC#FFFFFF#000000##000000
##DF97DC1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DF
Deuteranopia (green-blind)
#A5B3DA
Tritanopia (blue-blind)
#E49DB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #df97dc;
/* rgb */ color: rgb(223, 151, 220);
/* oklch */ color: oklch(77.0% 0.124 328.1);
Tailwind
colors: {
  custom: {
    50: '#eab6e7',
    500: '#df97dc',
    950: '#000000',
  },
}
SCSS
$custom: #df97dc;
$custom-light: #eab6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#df97dc",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 302.5,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76976,
    "c": 0.12406,
    "h": 328.1
  },
  "luminance": 0.42988
}

Semantic roles & 50–950 ramp

primary
#DF97DC
secondary
#DCEFDD
accent
#C02C25
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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